From 2e68551738d2b3d39b53e6a6437a23aa962f5c3d Mon Sep 17 00:00:00 2001 From: Ezekiel Gonzales <141341590+notsoeazy@users.noreply.github.com> Date: Wed, 28 Jan 2026 16:25:54 +0800 Subject: config: serialize brightnessIncrement (#1117) * config: serialize brightnessIncrement * add brightness increment on OSD scroll --- modules/osd/Content.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/osd/Content.qml b/modules/osd/Content.qml index 622f2d7..770fb69 100644 --- a/modules/osd/Content.qml +++ b/modules/osd/Content.qml @@ -90,9 +90,9 @@ Item { if (!monitor) return; if (event.angleDelta.y > 0) - monitor.setBrightness(monitor.brightness + 0.1); + monitor.setBrightness(monitor.brightness + Config.services.brightnessIncrement); else if (event.angleDelta.y < 0) - monitor.setBrightness(monitor.brightness - 0.1); + monitor.setBrightness(monitor.brightness - Config.services.brightnessIncrement); } FilledSlider { -- cgit v1.2.3-freya