Disabled pointer interactions with active tab button.

This commit is contained in:
Christian Bastian
2024-07-24 15:02:25 -04:00
parent de3e2a9693
commit 89d8e0ee7f
2 changed files with 3 additions and 2 deletions

View File

@@ -215,6 +215,7 @@
cursor: default;
position: relative;
z-index: 1;
pointer-events: none;
}
.model-manager .model-manager-body {

View File

@@ -4132,10 +4132,10 @@ class ModelManager extends ComfyDialog {
]),
$el("div.topbar-left", [
$el("div", [
$el("div.model-tab-group", {
$el("div.model-tab-group.no-highlight", {
$: (el) => (this.#tabManagerButtons = el),
}, tabManagerButtons),
$el("div.model-tab-group", {
$el("div.model-tab-group.no-highlight", {
$: (el) => (this.#tabInfoButtons = el),
style: { display: "none"},
}, tabInfoButtons),