mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Skip snapping if alt key is pressed
This commit is contained in:
parent
f57945f941
commit
2a00d82acc
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ class App extends React.Component<{}, AppState> {
|
|||
elementAtPosition.y +
|
||||
CANVAS_WINDOW_OFFSET_TOP +
|
||||
elementAtPosition.height / 2;
|
||||
} else {
|
||||
} else if (!e.altKey) {
|
||||
// Element must be searched from the end
|
||||
// to pick element with the highest z-index
|
||||
const elementClickedInside = elements
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue