idle inhibitor: accent color when inactive, orange warning when active
This commit is contained in:
parent
6eff8710fd
commit
56aa6dc342
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ import "." as M
|
||||||
|
|
||||||
M.BarIcon {
|
M.BarIcon {
|
||||||
id: root
|
id: root
|
||||||
color: root.active ? (parent?.accentColor ?? M.Theme.base05) : M.Theme.base04
|
color: root.active ? M.Theme.base09 : (parent?.accentColor ?? M.Theme.base05)
|
||||||
tooltip: {
|
tooltip: {
|
||||||
const parts = ["Idle inhibition: " + (root.active ? "active" : "inactive")];
|
const parts = ["Idle inhibition: " + (root.active ? "active" : "inactive")];
|
||||||
if (root._inhibitors)
|
if (root._inhibitors)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue