misc small todos: animations, cursors, ...

This commit is contained in:
Damocles 2026-04-12 16:17:36 +02:00
parent 3a8b2d5b11
commit 77ce83462d
8 changed files with 42 additions and 8 deletions

View file

@ -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
}
}