mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 02:36:10 +01:00
This commit is contained in:
parent
afead500fb
commit
6af0bf0ceb
2 changed files with 10 additions and 0 deletions
|
|
@ -14,6 +14,14 @@ export const onWindowsMsg = (ipcData: IWebSocketData) => {
|
|||
case "closetab":
|
||||
closeTab(ipcData);
|
||||
break;
|
||||
case "resetTabsStyle":
|
||||
document.querySelectorAll(".layout-tab-bars--drag").forEach(item => {
|
||||
item.classList.remove("layout-tab-bars--drag");
|
||||
item.querySelectorAll(".layout-tab-bar li[data-clone='true']").forEach(tabItem => {
|
||||
tabItem.remove();
|
||||
});
|
||||
});
|
||||
break;
|
||||
case "lockscreen":
|
||||
exportLayout({
|
||||
errorExit: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue