From 995d1534b68fc2363440be3a1a7dce2882cb939f Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 18 Aug 2023 15:14:05 -0400 Subject: [PATCH] Drop hard redraws for now --- piker/ui/_display.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 5f9e2cb9..75048e22 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -252,7 +252,15 @@ async def increment_history_view( (bf_wut := msg.get('backfilling', False)) ): 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}') match timeframe: case 60: