fix Temperature readonly Behavior
This commit is contained in:
parent
0eda2c71c9
commit
bdd77fb947
1 changed files with 1 additions and 1 deletions
|
|
@ -8,8 +8,8 @@ M.BarSection {
|
|||
tooltip: "Temperature: " + root.celsius + "\u00B0C"
|
||||
|
||||
property int celsius: 0
|
||||
property color _stateColor: celsius > 80 ? M.Theme.base08 : celsius > 60 ? M.Theme.base09 : M.Theme.base0C
|
||||
Behavior on _stateColor { ColorAnimation { duration: 300 } }
|
||||
readonly property color _stateColor: celsius > 80 ? M.Theme.base08 : celsius > 60 ? M.Theme.base09 : M.Theme.base0C
|
||||
|
||||
FileView {
|
||||
id: thermal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue