mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Compare commits
4 commits
ae5669e185
...
fecfa414de
Author | SHA1 | Date | |
---|---|---|---|
|
fecfa414de | ||
|
7536648b99 | ||
|
f4db72acdb | ||
|
975aa686cc |
1 changed files with 5 additions and 1 deletions
|
@ -8506,7 +8506,11 @@ class App extends React.Component<AppProps, AppState> {
|
|||
}
|
||||
|
||||
// We duplicate the selected element if alt is pressed on pointer move
|
||||
if (event.altKey && !pointerDownState.hit.hasBeenDuplicated) {
|
||||
if (
|
||||
event.altKey &&
|
||||
!pointerDownState.hit.hasBeenDuplicated &&
|
||||
!this.state.selectedElementsAreBeingDragged
|
||||
) {
|
||||
// Move the currently selected elements to the top of the z index stack, and
|
||||
// put the duplicates where the selected elements used to be.
|
||||
// (the origin point where the dragging started)
|
||||
|
|
Loading…
Add table
Reference in a new issue