Add back coord-caching to ohlc graphic

multichartz_backup
Tyler Goodlet 2023-01-15 13:23:31 -05:00
parent c8c5a234e8
commit 79706fe628
1 changed files with 1 additions and 1 deletions

View File

@ -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