Vanessa 2024-03-25 18:19:36 +08:00
parent 2e63ebc2ff
commit d67235589c
2 changed files with 6 additions and 22 deletions

View file

@ -487,7 +487,7 @@ export abstract class Constants {
"children": [{
"instance": "Tab",
"children": []
} as Config.IUILayoutTab]
}]
}]
}, {
"direction": "tb",
@ -533,40 +533,30 @@ export abstract class Constants {
show: true,
icon: "iconFiles",
hotkeyLangId: "fileTree",
hotkey: "",
title: "",
}, {
type: "outline",
size: {width: 227, height: 0},
show: false,
icon: "iconAlignCenter",
hotkeyLangId: "outline",
hotkey: "",
title: "",
}, {
type: "inbox",
size: {width: 320, height: 0},
show: false,
icon: "iconInbox",
hotkeyLangId: "inbox",
hotkey: "",
title: "",
}], [{
type: "bookmark",
size: {width: 227, height: 0},
show: false,
icon: "iconBookmark",
hotkeyLangId: "bookmark",
hotkey: "",
title: "",
}, {
type: "tag",
size: {width: 227, height: 0},
show: false,
icon: "iconTags",
hotkeyLangId: "tag",
hotkey: "",
title: "",
}]
]
},
@ -579,24 +569,18 @@ export abstract class Constants {
show: false,
icon: "iconGraph",
hotkeyLangId: "graphView",
hotkey: "",
title: "",
}, {
type: "globalGraph",
size: {width: 320, height: 0},
show: false,
icon: "iconGlobalGraph",
hotkeyLangId: "globalGraph",
hotkey: "",
title: "",
}], [{
type: "backlink",
size: {width: 320, height: 0},
show: false,
icon: "iconLink",
hotkeyLangId: "backlinks",
hotkey: "",
title: "",
}]
]
}

View file

@ -1508,7 +1508,7 @@ declare namespace Config {
/**
* Dock tab hotkey
*/
hotkey: string;
hotkey?: string;
/**
* Hotkey description ID
*/
@ -1525,7 +1525,7 @@ declare namespace Config {
/**
* Tab title
*/
title: string;
title?: string;
/**
* Tab type
*/
@ -1636,7 +1636,7 @@ declare namespace Config {
/**
* Whether the tab is active
*/
active: boolean;
active?: boolean;
/**
* Tab content
*/
@ -1660,11 +1660,11 @@ declare namespace Config {
/**
* Whether the tab is pinned
*/
pin: boolean;
pin?: boolean;
/**
* Tab title
*/
title: string;
title?: string;
}
/**