mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(crosshair): downsample clear markers
This commit is contained in:
@ -55,6 +55,7 @@ class Crosshair(QObject):
|
|||||||
self.plot_item.ctrl.derivativeCheck.checkStateChanged.connect(self.check_derivatives)
|
self.plot_item.ctrl.derivativeCheck.checkStateChanged.connect(self.check_derivatives)
|
||||||
self.plot_item.ctrl.logXCheck.checkStateChanged.connect(self.check_log)
|
self.plot_item.ctrl.logXCheck.checkStateChanged.connect(self.check_log)
|
||||||
self.plot_item.ctrl.logYCheck.checkStateChanged.connect(self.check_log)
|
self.plot_item.ctrl.logYCheck.checkStateChanged.connect(self.check_log)
|
||||||
|
self.plot_item.ctrl.downsampleSpin.valueChanged.connect(self.clear_markers)
|
||||||
|
|
||||||
# Initialize markers
|
# Initialize markers
|
||||||
self.marker_moved_1d = {}
|
self.marker_moved_1d = {}
|
||||||
|
Reference in New Issue
Block a user