Skip to content

Commit

Permalink
Update rectOperation.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Original-Recipe authored Jul 18, 2024
1 parent a8de298 commit 84432d5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1394,9 +1394,10 @@ class RectOperation extends BasicToolOperation {

case EKeyCode.P: {
// Isolation combination key
if (!ctrlKey && !altKey && !shiftKey && !metaKey) {
this.resizeRect();
if (ctrlKey || altKey || shiftKey || metaKey) {
return
}
this.resizeRect();
break;
}

Expand Down

0 comments on commit 84432d5

Please sign in to comment.