misc small todos: animations, cursors, ...
This commit is contained in:
parent
3a8b2d5b11
commit
77ce83462d
8 changed files with 42 additions and 8 deletions
|
|
@ -19,6 +19,8 @@ M.BarSection {
|
|||
readonly property bool charging: dev?.state === UPowerDeviceState.Charging
|
||||
readonly property color _stateColor: charging ? M.Theme.base0B : pct < 15 ? M.Theme.base08 : pct < 30 ? M.Theme.base09 : M.Theme.base0B
|
||||
|
||||
Behavior on _stateColor { ColorAnimation { duration: 300 } }
|
||||
|
||||
M.BarIcon {
|
||||
icon: {
|
||||
if (root.charging)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue