use more consistent isVisible condition check

This commit is contained in:
christian-byrne 2025-02-01 14:10:41 -07:00
parent 69087150ac
commit 5110a5695b
2 changed files with 2 additions and 2 deletions

View File

@ -1269,7 +1269,7 @@ class ManagerMenuDialog extends ComfyDialog {
}
get isVisible() {
return this.element?.style?.display === "block";
return this.element?.style?.display !== "none";
}
show() {

View File

@ -1918,6 +1918,6 @@ export class CustomNodesManager {
}
get isVisible() {
return this.element?.style?.display === "flex";
return this.element?.style?.display !== "none";
}
}