remove debug statement

This commit is contained in:
Duncan Tourolle 2025-11-23 21:33:15 +01:00
parent 2fc99a3292
commit e52cb7334a

View File

@ -180,9 +180,7 @@ class MainWindow(
"""Handle vertical scrollbar changes"""
if not self._updating_scrollbars:
# 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
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()
def _on_horizontal_scroll(self, value):