From 23c03a09051ec201fa3ca718b0c44763adaa6a3a 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