mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: theme toggle shortcut event.code
(#7868)
This commit is contained in:
parent
cd50aa719f
commit
c6a045d092
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export const useHandleAppTheme = () => {
|
|||
!event[KEYS.CTRL_OR_CMD] &&
|
||||
event.altKey &&
|
||||
event.shiftKey &&
|
||||
event.code === KEYS.D
|
||||
event.code === CODES.D
|
||||
) {
|
||||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
|
|
Loading…
Add table
Reference in a new issue