aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphView.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/glyphView.py')
-rw-r--r--Lib/defconQt/glyphView.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py
index faa45cc..0def116 100644
--- a/Lib/defconQt/glyphView.py
+++ b/Lib/defconQt/glyphView.py
@@ -146,7 +146,8 @@ class OffCurvePointItem(QGraphicsEllipseItem):
def itemChange(self, change, value):
if change == QGraphicsItem.ItemPositionChange:
- if QApplication.keyboardModifiers() & Qt.ShiftModifier:
+ if QApplication.keyboardModifiers() & Qt.ShiftModifier \
+ and len(self.scene().selectedItems()) == 1:
ax = abs(value.x())
ay = abs(value.y())
if ay > ax * 2: