This commit is contained in:
Liang Ding 2022-12-17 17:39:39 +08:00
parent 48b36d929f
commit 3969a67c65
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -442,7 +442,7 @@ const boot = () => {
resetTrayMenu()
}
const setWndTopMenu = {
label: trayMenu.cancelWindowTop,
label: trayMenu.setWindowTop,
click: () => {
setCancelWndTop()
},
@ -492,13 +492,7 @@ const boot = () => {
if ('win32' === process.platform) {
// Windows 端支持窗口置顶 https://github.com/siyuan-note/siyuan/issues/6860
let changeWndTop = {
label: trayMenu.setWindowTop,
click: () => {
},
};
ret.splice(1, 0, changeWndTop)
ret.splice(1, 0, setWndTopMenu)
}
return ret;
}