14.5: one View › Snap for all snapping
This commit is contained in:
14 files changed
+33
-43
No files matched your search
@@ -200,7 +200,7 @@ void CropCanvasTests::snappingReachesEightViewPoints()
|
||||
shown.drag(from, to);
|
||||
QCOMPARE(shown.frame(), std::optional(QRectF(100, 50, 300, 120)));
|
||||
// Snap off: the edges stay where the pointer puts them.
|
||||
shown.session.setSnappingEnabled(false);
|
||||
shown.session.setSnapEnabled(false);
|
||||
shown.session.setCropRect(std::nullopt);
|
||||
shown.drag(from, to);
|
||||
QCOMPARE(shown.frame(), std::optional(QRectF(100, 50, 290, 120)));
|
||||
|
||||
Reference in new issue
Block a user