From 4efe875f1b8cd1c0d2f1bb3593555fe037905a63 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 15 Jan 2023 13:23:31 -0500 Subject: [PATCH] Add back coord-caching to ohlc graphic --- piker/ui/_ohlc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/_ohlc.py b/piker/ui/_ohlc.py index de421cd2..c23bd290 100644 --- a/piker/ui/_ohlc.py +++ b/piker/ui/_ohlc.py @@ -121,7 +121,7 @@ class BarItems(FlowGraphic): # XXX: causes this weird jitter bug when click-drag panning # where the path curve will awkwardly flicker back and forth? - # self.setCacheMode(QtWidgets.QGraphicsItem.DeviceCoordinateCache) + self.setCacheMode(QtWidgets.QGraphicsItem.DeviceCoordinateCache) self.path = QPainterPath() self._last_bar_lines: tuple[QLineF, ...] | None = None