🎨 Updated
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user