mirror of
https://github.com/home-assistant/frontend.git
synced 2025-10-12 13:19:38 +00:00
Indicate things are disabled in trace graph (#12550)
* Indicate things are disabled in trace graph * Update hat-script-graph.ts
This commit is contained in:
@@ -19,6 +19,8 @@ export class HatGraphNode extends LitElement {
|
||||
|
||||
@property({ reflect: true, type: Boolean }) disabled?: boolean;
|
||||
|
||||
@property({ reflect: true, type: Boolean }) notEnabled = false;
|
||||
|
||||
@property({ reflect: true, type: Boolean }) graphStart?: boolean;
|
||||
|
||||
@property({ type: Boolean, attribute: "nofocus" }) noFocus = false;
|
||||
@@ -114,7 +116,8 @@ export class HatGraphNode extends LitElement {
|
||||
--stroke-clr: var(--hover-clr);
|
||||
--icon-clr: var(--default-icon-clr);
|
||||
}
|
||||
:host([disabled]) circle {
|
||||
:host([notEnabled]) circle,
|
||||
:host([notEnabled]) path.connector {
|
||||
stroke: var(--disabled-clr);
|
||||
}
|
||||
svg {
|
||||
|
Reference in New Issue
Block a user