Move update-state-vars defaults above step mode block
parent
04897fd402
commit
d4f31f2b3c
|
@ -721,6 +721,12 @@ class Flow(msgspec.Struct): # , frozen=True):
|
||||||
last_read=read,
|
last_read=read,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# ds update config
|
||||||
|
new_sample_rate: bool = False
|
||||||
|
should_redraw: bool = False
|
||||||
|
should_ds: bool = r._in_ds
|
||||||
|
showing_src_data: bool = not r._in_ds
|
||||||
|
|
||||||
if graphics._step_mode:
|
if graphics._step_mode:
|
||||||
|
|
||||||
r.allocate_xy = to_step_format
|
r.allocate_xy = to_step_format
|
||||||
|
@ -754,12 +760,6 @@ class Flow(msgspec.Struct): # , frozen=True):
|
||||||
# should_redraw = bool(append_diff)
|
# should_redraw = bool(append_diff)
|
||||||
draw_last = False
|
draw_last = False
|
||||||
|
|
||||||
# ds update config
|
|
||||||
new_sample_rate: bool = False
|
|
||||||
should_redraw: bool = False
|
|
||||||
should_ds: bool = r._in_ds
|
|
||||||
showing_src_data: bool = not r._in_ds
|
|
||||||
|
|
||||||
# downsampling incremental state checking
|
# downsampling incremental state checking
|
||||||
# check for and set std m4 downsample conditions
|
# check for and set std m4 downsample conditions
|
||||||
uppx = graphics.x_uppx()
|
uppx = graphics.x_uppx()
|
||||||
|
|
Loading…
Reference in New Issue