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

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Gabriel Lalonde 2023-11-10 09:33:02 -05:00 committed by GitHub
parent 3ed15e95da
commit 68179356e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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