ViewBox: mark matrix dirty _before_ emitting change signal to ensure
that slots can access the latest transform.
This commit is contained in:
parent
5855aa8627
commit
55d21a436f
@ -1482,9 +1482,9 @@ class ViewBox(GraphicsWidget):
|
||||
self.sigYRangeChanged.emit(self, tuple(self.state['viewRange'][1]))
|
||||
|
||||
if any(changed):
|
||||
self._matrixNeedsUpdate = True
|
||||
self.sigRangeChanged.emit(self, self.state['viewRange'])
|
||||
self.update()
|
||||
self._matrixNeedsUpdate = True
|
||||
|
||||
# Inform linked views that the range has changed
|
||||
for ax in [0, 1]:
|
||||
|
Loading…
Reference in New Issue
Block a user