correct lint

This commit is contained in:
ritk20 2024-10-04 04:29:26 +05:30
parent 975aa686cc
commit f4db72acdb

View file

@ -7889,7 +7889,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 && !this.state.selectedElementsAreBeingDragged) {
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)