File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ const mappingKey = (isAppleDevice: boolean) => ({
64
64
[ KeyMapEnum . Up ] : < Icon icon = { ArrowUpIcon } /> ,
65
65
[ KeyMapEnum . Comma ] : ',' ,
66
66
[ KeyMapEnum . Period ] : '.' ,
67
- [ KeyMapEnum . Slash ] : '/ ' ,
67
+ [ KeyMapEnum . Slash ] : '? ' ,
68
68
[ KeyMapEnum . Semicolon ] : ';' ,
69
69
[ KeyMapEnum . Quote ] : "'" ,
70
70
[ KeyMapEnum . Backquote ] : '`' ,
71
71
[ KeyMapEnum . Backslash ] : '\\' ,
72
72
[ KeyMapEnum . BracketLeft ] : '[' ,
73
73
[ KeyMapEnum . BracketRight ] : ']' ,
74
74
[ KeyMapEnum . Minus ] : '-' ,
75
- [ KeyMapEnum . Equal ] : '= ' ,
75
+ [ KeyMapEnum . Equal ] : '+ ' ,
76
76
} ) ;
77
77
78
78
export interface HotkeyProps extends Omit < FlexboxProps , 'children' > {
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ export const KeyMapEnum = {
19
19
Minus : 'minus' , // -
20
20
Mod : 'mod' , // Command on Mac, Ctrl on Win
21
21
Period : 'period' , // .
22
+ Plus : 'equal' , // +
23
+ QuestionMark : 'slash' , // ?
22
24
Quote : 'quote' , // '
23
25
Right : 'right' ,
24
26
RightClick : 'right-click' ,
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ const HotkeyInput = memo<HotkeyInputProps>(
271
271
style = { { pointerEvents : 'none' } }
272
272
/>
273
273
274
- { allowReset && hotkeyValue && hotkeyValue !== resetValue && ! disabled && (
274
+ { ! isFocused && allowReset && hotkeyValue && hotkeyValue !== resetValue && ! disabled && (
275
275
< ActionIcon
276
276
active
277
277
icon = { Undo2Icon }
You can’t perform that action at this time.
0 commit comments