From cd45cafa601f313f447931002c1351a658aab404 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 4 May 2025 23:18:11 +1000 Subject: bar: add scroll actions to fillers Also change the brightness osd icon depending on value --- modules/osd/Content.qml | 2 +- modules/osd/Osd.qml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/osd') diff --git a/modules/osd/Content.qml b/modules/osd/Content.qml index b224bf6..54976e4 100644 --- a/modules/osd/Content.qml +++ b/modules/osd/Content.qml @@ -34,7 +34,7 @@ Column { } VerticalSlider { - icon: "brightness_6" + icon: `brightness_${(Math.round(value * 6) + 1)}` value: root.monitor?.brightness ?? 0 onMoved: root.monitor?.setBrightness(value) diff --git a/modules/osd/Osd.qml b/modules/osd/Osd.qml index 33a12ab..3f6d8bc 100644 --- a/modules/osd/Osd.qml +++ b/modules/osd/Osd.qml @@ -99,7 +99,6 @@ Variants { HoverHandler { id: hoverHandler - parent: win onHoveredChanged: { root.hovered = hovered; if (hovered) -- cgit v1.2.3-freya