mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
Fix keyboard shortcuts: add comments for duplicate keys and increase maxLength for special characters
Co-authored-by: GTheMachine <156854865+GTheMachine@users.noreply.github.com>
This commit is contained in:
committed by
Kacper
parent
857f46f86a
commit
8095a3aef7
@@ -1422,9 +1422,9 @@ export function SettingsView() {
|
||||
setShortcutError(null);
|
||||
}
|
||||
}}
|
||||
className="w-20 h-8 text-center font-mono"
|
||||
className="w-24 h-8 text-center font-mono"
|
||||
placeholder="Key"
|
||||
maxLength={1}
|
||||
maxLength={2}
|
||||
autoFocus
|
||||
data-testid={`edit-shortcut-${key}`}
|
||||
/>
|
||||
@@ -1534,9 +1534,9 @@ export function SettingsView() {
|
||||
setShortcutError(null);
|
||||
}
|
||||
}}
|
||||
className="w-20 h-8 text-center font-mono"
|
||||
className="w-24 h-8 text-center font-mono"
|
||||
placeholder="Key"
|
||||
maxLength={1}
|
||||
maxLength={2}
|
||||
autoFocus
|
||||
data-testid={`edit-shortcut-${key}`}
|
||||
/>
|
||||
@@ -1649,9 +1649,9 @@ export function SettingsView() {
|
||||
setShortcutError(null);
|
||||
}
|
||||
}}
|
||||
className="w-20 h-8 text-center font-mono"
|
||||
className="w-24 h-8 text-center font-mono"
|
||||
placeholder="Key"
|
||||
maxLength={1}
|
||||
maxLength={2}
|
||||
autoFocus
|
||||
data-testid={`edit-shortcut-${key}`}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user