eric7/Snapshot/SnapshotPreview.py

branch
eric7
changeset 8366
2a9f5153c438
parent 8318
962bce857696
child 8881
54e42bc2437a
diff -r cde9bde830ea -r 2a9f5153c438 eric7/Snapshot/SnapshotPreview.py
--- a/eric7/Snapshot/SnapshotPreview.py	Sun May 23 13:33:13 2021 +0200
+++ b/eric7/Snapshot/SnapshotPreview.py	Sun May 23 15:35:49 2021 +0200
@@ -73,9 +73,9 @@
         @param evt mouse move event (QMouseEvent)
         """
         if (
-            self.__mouseClickPoint != QPoint(0, 0) and
-            (evt.position().toPoint() - self.__mouseClickPoint).manhattanLength() >
-            QApplication.startDragDistance()
+            self.__mouseClickPoint != QPoint(0, 0) and (
+                evt.position().toPoint() - self.__mouseClickPoint
+            ).manhattanLength() > QApplication.startDragDistance()
         ):
             self.__mouseClickPoint = QPoint(0, 0)
             self.startDrag.emit()

eric ide

mercurial