From d4e0d4463f6cafb9e4a540da9372352cf35ca813 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 16 Apr 2022 18:32:36 -0400 Subject: [PATCH] Always update ohlc (main source chart) on `trigger_all=True` --- piker/ui/_display.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index ea399bff..0a0b8fd6 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -398,9 +398,11 @@ def graphics_update_cycle( ) if ( - (xpx < update_uppx or i_diff > 0) + ( + xpx < update_uppx or i_diff > 0 + and liv + ) or trigger_all - and liv ): # TODO: make it so this doesn't have to be called # once the $vlm is up? @@ -494,6 +496,7 @@ def graphics_update_cycle( if ( xpx < update_uppx or i_diff > 0 + or trigger_all ): chart.update_graphics_from_array( chart.name,