remove debug statement
This commit is contained in:
parent
2fc99a3292
commit
e52cb7334a
@ -180,9 +180,7 @@ class MainWindow(
|
|||||||
"""Handle vertical scrollbar changes"""
|
"""Handle vertical scrollbar changes"""
|
||||||
if not self._updating_scrollbars:
|
if not self._updating_scrollbars:
|
||||||
# Invert scrollbar value to pan offset (scrolling down = negative pan)
|
# Invert scrollbar value to pan offset (scrolling down = negative pan)
|
||||||
old_pan_y = self._gl_widget.pan_offset[1]
|
|
||||||
self._gl_widget.pan_offset[1] = -value
|
self._gl_widget.pan_offset[1] = -value
|
||||||
print(f"SCROLLBAR V: changed pan_y from {old_pan_y:.1f} to {self._gl_widget.pan_offset[1]:.1f} (scrollbar value={value})")
|
|
||||||
self._gl_widget.update()
|
self._gl_widget.update()
|
||||||
|
|
||||||
def _on_horizontal_scroll(self, value):
|
def _on_horizontal_scroll(self, value):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user