mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-07-25 05:07:06 +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() {
|
get isVisible() {
|
||||||
return this.element?.style?.display === "block";
|
return this.element?.style?.display !== "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
show() {
|
show() {
|
||||||
|
|||||||
@ -1918,6 +1918,6 @@ export class CustomNodesManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get isVisible() {
|
get isVisible() {
|
||||||
return this.element?.style?.display === "flex";
|
return this.element?.style?.display !== "none";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user