Fix display of disabled items in traces (#25293)

This commit is contained in:
Bram Kragten
2025-05-04 10:38:01 +03:00
committed by GitHub
parent bdad76937e
commit d7660370ab
2 changed files with 8 additions and 8 deletions

View File

@@ -17,8 +17,8 @@ export class HatGraphNode extends LitElement {
@property({ type: Boolean }) public error = false;
@property({ attribute: false, reflect: true, type: Boolean }) notEnabled =
false;
@property({ attribute: "not-enabled", reflect: true, type: Boolean })
notEnabled = false;
@property({ attribute: "graph-start", reflect: true, type: Boolean })
graphStart = false;
@@ -127,13 +127,13 @@ export class HatGraphNode extends LitElement {
--stroke-clr: var(--hover-clr);
--icon-clr: var(--default-icon-clr);
}
:host([notEnabled]) circle {
:host([not-enabled]) circle {
--stroke-clr: var(--disabled-clr);
}
:host([notEnabled][active]) circle {
:host([not-enabled][active]) circle {
--stroke-clr: var(--disabled-active-clr);
}
:host([notEnabled]:hover) circle {
:host([not-enabled]:hover) circle {
--stroke-clr: var(--disabled-hover-clr);
}
svg:not(.safari) {