From f29e65fdb8400b0c815339a31bc07a700383e56a Mon Sep 17 00:00:00 2001 From: Nils Date: Mon, 15 Aug 2022 10:50:58 +0200 Subject: [PATCH] Don't focus on cursor after stretching. --- qtgui/scoreview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qtgui/scoreview.py b/qtgui/scoreview.py index 02ee512..810884b 100644 --- a/qtgui/scoreview.py +++ b/qtgui/scoreview.py @@ -110,8 +110,8 @@ class ScoreView(QtWidgets.QGraphicsView): def stretchXCoordinates(self, factor): """Cumulative factor, multiplication""" self.scoreScene.stretchXCoordinates(factor) - if not self.mode() == "block": - self.centerOnCursor(None) + #if not self.mode() == "block": + # self.centerOnCursor(None) def zoom(self, scaleFactor:float): """Scale factor is absolute"""