mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-07-26 10:07:38 +08:00
use more consistent isVisible condition check
This commit is contained in:
@@ -1269,7 +1269,7 @@ class ManagerMenuDialog extends ComfyDialog {
|
||||
}
|
||||
|
||||
get isVisible() {
|
||||
return this.element?.style?.display === "block";
|
||||
return this.element?.style?.display !== "none";
|
||||
}
|
||||
|
||||
show() {
|
||||
|
||||
@@ -1918,6 +1918,6 @@ export class CustomNodesManager {
|
||||
}
|
||||
|
||||
get isVisible() {
|
||||
return this.element?.style?.display === "flex";
|
||||
return this.element?.style?.display !== "none";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user