fix: mousehover keys can be set blank

This commit is contained in:
Gabe
2025-09-25 00:21:51 +08:00
parent 2a46939aa5
commit 261f29c185
4 changed files with 29 additions and 15 deletions

View File

@@ -19,9 +19,10 @@ export default function ShortcutInput({
const i18n = useI18n();
const commitChanges = () => {
if (editingKeys.length > 0) {
onChange(editingKeys);
}
// if (editingKeys.length > 0) {
// onChange(editingKeys);
// }
onChange(editingKeys);
setIsEditing(false);
};