misc small todos: animations, cursors, ...
This commit is contained in:
parent
3a8b2d5b11
commit
77ce83462d
8 changed files with 42 additions and 8 deletions
|
|
@ -17,10 +17,10 @@ M.BarSection {
|
|||
onStreamFinished: {
|
||||
try {
|
||||
const data = JSON.parse(text);
|
||||
label.text = data.text ?? "";
|
||||
label.icon = data.text ?? "";
|
||||
root.weatherTooltip = data.tooltip ?? "";
|
||||
} catch (e) {
|
||||
label.text = "";
|
||||
label.icon = "";
|
||||
root.weatherTooltip = "";
|
||||
}
|
||||
}
|
||||
|
|
@ -33,11 +33,9 @@ M.BarSection {
|
|||
onTriggered: proc.running = true
|
||||
}
|
||||
|
||||
Text {
|
||||
M.BarIcon {
|
||||
id: label
|
||||
color: M.Theme.base05
|
||||
font.pixelSize: M.Theme.fontSize
|
||||
font.family: M.Theme.iconFontFamily
|
||||
color: M.Theme.base0C
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue