fix: Fixes the shortcut collision between "toggleHandTool" and "distributeHorizontally" (#7189)

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
pull/7269/head
Gabriel Lalonde 1 year ago committed by GitHub
parent 3ed15e95da
commit 68179356e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -438,5 +438,6 @@ export const actionToggleHandTool = register({
commitToHistory: true,
};
},
keyTest: (event) => event.key === KEYS.H,
keyTest: (event) =>
!event.altKey && !event[KEYS.CTRL_OR_CMD] && event.key === KEYS.H,
});

Loading…
Cancel
Save