diff options
Diffstat (limited to '')
-rw-r--r-- | src/editorui/editormain.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/editorui/editormain.py b/src/editorui/editormain.py index 263c547..3d2f17d 100644 --- a/src/editorui/editormain.py +++ b/src/editorui/editormain.py @@ -353,7 +353,11 @@ class KPMapScene(QtGui.QGraphicsScene): posRect.setWidth(posRect.width()*modifier/100.0) elif Type == "Y Scale": - posRect.setHeight(posRect.height()*modifier/100.0) + h = posRect.height() + posRect.setHeight(h*modifier/100.0) + + new = h - posRect.height() + posRect.adjust(0, new, 0, new) elif Type == "Opacity": painter.setOpacity(modifier/100.0) |