Skip snapping if alt key is pressed

This commit is contained in:
hazam 2020-01-09 00:45:30 +05:00
parent f57945f941
commit 2a00d82acc

View file

@ -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