Position tracker is passed at init

fsp_feeds
Tyler Goodlet 2021-08-10 17:02:17 -04:00
parent 4ddfea654b
commit a40205728f
1 changed files with 3 additions and 2 deletions

View File

@ -413,7 +413,7 @@ async def run_order_mode(
), ),
): ):
view = chart._vb view = chart.view
lines = LineEditor(chart=chart) lines = LineEditor(chart=chart)
arrows = ArrowEditor(chart, {}) arrows = ArrowEditor(chart, {})
@ -431,8 +431,9 @@ async def run_order_mode(
pp, pp,
) )
# TODO: create a mode "manager" of sorts?
# -> probably just call it "UxModes" err sumthin?
# so that view handlers can access it # so that view handlers can access it
mode.pp = pp
view.mode = mode view.mode = mode
asset_type = symbol.type_key asset_type = symbol.type_key