mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 14:53:44 +08:00
1 parent
75995cd8dc
commit
299229c584
2 files changed
+7
-10
No files matched your search
@@ -1893,7 +1893,7 @@ function handleKeyDown(event) {
|
||||
}
|
||||
if (nativeHost && (event.ctrlKey || event.metaKey) && (key === "Tab" || key.toLowerCase() === "w")) {
|
||||
event.preventDefault();
|
||||
if (document.body.hasAttribute("data-busy") || formDialogOpen() && !documentTab().print?.context) return;
|
||||
if (document.body.hasAttribute("data-busy") || documentDialogs?.applicationOpen() || formDialogOpen() && !documentTab().print?.context) return;
|
||||
if (key.toLowerCase() === "w") closeTab(documentTab());
|
||||
else {
|
||||
const count = workspace.tabs.length, index = workspace.tabs.indexOf(documentTab());
|
||||
|
||||
Reference in new issue
Block a user