summaryrefslogtreecommitdiff
path: root/modules/osd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/osd')
-rw-r--r--modules/osd/Content.qml2
-rw-r--r--modules/osd/Osd.qml1
2 files changed, 1 insertions, 2 deletions
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)