Vanessa 2025-04-01 15:31:00 +08:00
parent 7e09c1b704
commit ee46c6cb01
3 changed files with 24 additions and 14 deletions

View file

@ -471,7 +471,7 @@ export class Files extends Model {
});
window.siyuan.dragElement = undefined;
/// #if !BROWSER
ipcRenderer.send(Constants.SIYUAN_SEND_WINDOWS, {cmd: "resetTabsStyle"});
ipcRenderer.send(Constants.SIYUAN_SEND_WINDOWS, {cmd: "resetTabsStyle", data: "rmDragStyle"});
/// #else
document.querySelectorAll(".layout-tab-bars--drag").forEach(item => {
item.classList.remove("layout-tab-bars--drag");