fix: improve ctrl+alt lasso selecting (#9514)

This commit is contained in:
David Luzar
2025-05-12 18:09:37 +02:00
committed by GitHub
parent 35bb449a4b
commit 298812e1d0
2 changed files with 20 additions and 11 deletions
+2
View File
@@ -173,6 +173,8 @@ export const isSnappingEnabled = ({
(app.state.objectsSnapModeEnabled && !event[KEYS.CTRL_OR_CMD]) ||
(!app.state.objectsSnapModeEnabled &&
event[KEYS.CTRL_OR_CMD] &&
// ctrl + alt means we're lasso selecting
!event.altKey &&
!isGridModeEnabled(app))
);
}