[Mod] update cursor info pos after new bar updated
This commit is contained in:
parent
a6bd9f6ce0
commit
9d79112dd7
@ -35,7 +35,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
timer = QtCore.QTimer()
|
timer = QtCore.QTimer()
|
||||||
timer.timeout.connect(update_bar)
|
timer.timeout.connect(update_bar)
|
||||||
# timer.start(100)
|
timer.start(100)
|
||||||
|
|
||||||
widget.show()
|
widget.show()
|
||||||
app.exec_()
|
app.exec_()
|
||||||
|
@ -284,6 +284,7 @@ class ChartWidget(pg.PlotWidget):
|
|||||||
"""
|
"""
|
||||||
self._right_ix = self._manager.get_count()
|
self._right_ix = self._manager.get_count()
|
||||||
self._update_x_range()
|
self._update_x_range()
|
||||||
|
self._cursor.update_info()
|
||||||
|
|
||||||
|
|
||||||
class ChartCursor(QtCore.QObject):
|
class ChartCursor(QtCore.QObject):
|
||||||
|
Loading…
Reference in New Issue
Block a user