🎨 Updated

This commit is contained in:
2025-06-20 13:46:13 +08:00
parent 85544ba1e4
commit cb3d369aef
4 changed files with 49 additions and 130 deletions

View File

@@ -453,11 +453,6 @@ export class HotkeyCombo {
* KeyBinding 单个快捷键绑定
*/
export class KeyBinding {
/**
* 快捷键唯一标识
*/
"id": string;
/**
* 快捷键动作
*/
@@ -490,9 +485,6 @@ export class KeyBinding {
/** Creates a new KeyBinding instance. */
constructor($$source: Partial<KeyBinding> = {}) {
if (!("id" in $$source)) {
this["id"] = "";
}
if (!("action" in $$source)) {
this["action"] = ("" as KeyBindingAction);
}