Add native QCustomPlot renderer and shared plot adapters
This commit is contained in:
@@ -100,7 +100,10 @@ class PlotDragInteraction:
|
||||
self.viewport = self._press_viewport.transform(self.core,
|
||||
pan_x=delta.x() / rect.width() if not self.lock_x else 0)
|
||||
self._refresh_controls()
|
||||
self.update()
|
||||
if self._dragged is not None:
|
||||
getattr(self, "update_overlay", self.update)()
|
||||
else:
|
||||
self.update()
|
||||
|
||||
def mouseReleaseEvent(self, event):
|
||||
if event.button() != Qt.LeftButton:
|
||||
|
||||
Reference in New Issue
Block a user