mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
2e63ebc2ff
commit
d67235589c
2 changed files with 6 additions and 22 deletions
|
|
@ -487,7 +487,7 @@ export abstract class Constants {
|
||||||
"children": [{
|
"children": [{
|
||||||
"instance": "Tab",
|
"instance": "Tab",
|
||||||
"children": []
|
"children": []
|
||||||
} as Config.IUILayoutTab]
|
}]
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
"direction": "tb",
|
"direction": "tb",
|
||||||
|
|
@ -533,40 +533,30 @@ export abstract class Constants {
|
||||||
show: true,
|
show: true,
|
||||||
icon: "iconFiles",
|
icon: "iconFiles",
|
||||||
hotkeyLangId: "fileTree",
|
hotkeyLangId: "fileTree",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}, {
|
}, {
|
||||||
type: "outline",
|
type: "outline",
|
||||||
size: {width: 227, height: 0},
|
size: {width: 227, height: 0},
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconAlignCenter",
|
icon: "iconAlignCenter",
|
||||||
hotkeyLangId: "outline",
|
hotkeyLangId: "outline",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}, {
|
}, {
|
||||||
type: "inbox",
|
type: "inbox",
|
||||||
size: {width: 320, height: 0},
|
size: {width: 320, height: 0},
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconInbox",
|
icon: "iconInbox",
|
||||||
hotkeyLangId: "inbox",
|
hotkeyLangId: "inbox",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}], [{
|
}], [{
|
||||||
type: "bookmark",
|
type: "bookmark",
|
||||||
size: {width: 227, height: 0},
|
size: {width: 227, height: 0},
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconBookmark",
|
icon: "iconBookmark",
|
||||||
hotkeyLangId: "bookmark",
|
hotkeyLangId: "bookmark",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}, {
|
}, {
|
||||||
type: "tag",
|
type: "tag",
|
||||||
size: {width: 227, height: 0},
|
size: {width: 227, height: 0},
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconTags",
|
icon: "iconTags",
|
||||||
hotkeyLangId: "tag",
|
hotkeyLangId: "tag",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}]
|
}]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -579,24 +569,18 @@ export abstract class Constants {
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconGraph",
|
icon: "iconGraph",
|
||||||
hotkeyLangId: "graphView",
|
hotkeyLangId: "graphView",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}, {
|
}, {
|
||||||
type: "globalGraph",
|
type: "globalGraph",
|
||||||
size: {width: 320, height: 0},
|
size: {width: 320, height: 0},
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconGlobalGraph",
|
icon: "iconGlobalGraph",
|
||||||
hotkeyLangId: "globalGraph",
|
hotkeyLangId: "globalGraph",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}], [{
|
}], [{
|
||||||
type: "backlink",
|
type: "backlink",
|
||||||
size: {width: 320, height: 0},
|
size: {width: 320, height: 0},
|
||||||
show: false,
|
show: false,
|
||||||
icon: "iconLink",
|
icon: "iconLink",
|
||||||
hotkeyLangId: "backlinks",
|
hotkeyLangId: "backlinks",
|
||||||
hotkey: "",
|
|
||||||
title: "",
|
|
||||||
}]
|
}]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
app/src/types/config.d.ts
vendored
10
app/src/types/config.d.ts
vendored
|
|
@ -1508,7 +1508,7 @@ declare namespace Config {
|
||||||
/**
|
/**
|
||||||
* Dock tab hotkey
|
* Dock tab hotkey
|
||||||
*/
|
*/
|
||||||
hotkey: string;
|
hotkey?: string;
|
||||||
/**
|
/**
|
||||||
* Hotkey description ID
|
* Hotkey description ID
|
||||||
*/
|
*/
|
||||||
|
|
@ -1525,7 +1525,7 @@ declare namespace Config {
|
||||||
/**
|
/**
|
||||||
* Tab title
|
* Tab title
|
||||||
*/
|
*/
|
||||||
title: string;
|
title?: string;
|
||||||
/**
|
/**
|
||||||
* Tab type
|
* Tab type
|
||||||
*/
|
*/
|
||||||
|
|
@ -1636,7 +1636,7 @@ declare namespace Config {
|
||||||
/**
|
/**
|
||||||
* Whether the tab is active
|
* Whether the tab is active
|
||||||
*/
|
*/
|
||||||
active: boolean;
|
active?: boolean;
|
||||||
/**
|
/**
|
||||||
* Tab content
|
* Tab content
|
||||||
*/
|
*/
|
||||||
|
|
@ -1660,11 +1660,11 @@ declare namespace Config {
|
||||||
/**
|
/**
|
||||||
* Whether the tab is pinned
|
* Whether the tab is pinned
|
||||||
*/
|
*/
|
||||||
pin: boolean;
|
pin?: boolean;
|
||||||
/**
|
/**
|
||||||
* Tab title
|
* Tab title
|
||||||
*/
|
*/
|
||||||
title: string;
|
title?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue