Add commands to toggle visibility of manager and custom nodes manager menus (#1505)

* Add commands for manager keybindings

* use more consistent isVisible condition check

* remove hide method in favor of super class's close method

* fix formatting

* fix tabs formatting
This commit is contained in:
bymyself
2025-02-02 14:37:04 +09:00
committed by GitHub
parent cf0d038978
commit 2e55bc470c
2 changed files with 51 additions and 0 deletions
+4
View File
@@ -1916,4 +1916,8 @@ export class CustomNodesManager {
close() {
this.element.style.display = "none";
}
get isVisible() {
return this.element?.style?.display !== "none";
}
}