Don't update overlays as fsps

multichartz
Tyler Goodlet 2023-02-03 08:12:02 -05:00
parent cf979e9ca2
commit e280e487c8
1 changed files with 18 additions and 18 deletions

View File

@ -777,25 +777,25 @@ def graphics_update_cycle(
array_key=curve_name, array_key=curve_name,
) )
# even if we're downsampled bigly # even if we're downsampled bigly
# draw the last datum in the final # draw the last datum in the final
# px column to give the user the mx/mn # px column to give the user the mx/mn
# range of that set. # range of that set.
if ( if (
curve_name != fqsn curve_name != fqsn
and liv and liv
# and not do_px_step # and not do_px_step
# and not do_rt_update # and not do_rt_update
): ):
viz.draw_last( viz.draw_last(
array_key=curve_name, array_key=curve_name,
# TODO: XXX this is currently broken for the # TODO: XXX this is currently broken for the
# `FlattenedOHLC` case since we aren't returning the # `FlattenedOHLC` case since we aren't returning the
# full x/y uppx's worth of src-data from # full x/y uppx's worth of src-data from
# `draw_last_datum()` .. # `draw_last_datum()` ..
only_last_uppx=True, only_last_uppx=True,
) )
profiler('overlays updates') profiler('overlays updates')