mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-10 21:22:37 +08:00
use more consistent isVisible condition check
This commit is contained in:
parent
69087150ac
commit
5110a5695b
@ -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";
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user