Drop hard redraws for now

ib_py311_fixes
Tyler Goodlet 2023-08-18 15:14:05 -04:00
parent 9d31941d42
commit 995d1534b6
1 changed files with 9 additions and 1 deletions

View File

@ -252,7 +252,15 @@ async def increment_history_view(
(bf_wut := msg.get('backfilling', False)) (bf_wut := msg.get('backfilling', False))
): ):
viz_name, timeframe = bf_wut viz_name, timeframe = bf_wut
if viz_name == name: if (
viz_name == name
# TODO: only allow this when the data is IN VIEW!
# also, we probably can do this more efficiently
# / smarter by only redrawing the portion of the
# path necessary?
and False
):
log.info(f'Forcing hard redraw -> {name}@{timeframe}') log.info(f'Forcing hard redraw -> {name}@{timeframe}')
match timeframe: match timeframe:
case 60: case 60: