From 45b0fbeb4a1e34c141a886aa14e56a3c9aa339cd Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Tue, 26 Aug 2025 20:42:01 +0200 Subject: [PATCH] Release: v2.3.0 - add NightLight - better positioning of panels below their widgets - quality of life changes/fixes --- Commons/Settings.qml | 2 +- Services/NightLightService.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Commons/Settings.qml b/Commons/Settings.qml index 03d657a..50c7913 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -261,7 +261,7 @@ Singleton { // night light property JsonObject nightLight: JsonObject { property bool enabled: false - property real warmth: 0.0 + property real warmth: 0.1 property real intensity: 0.8 property string startTime: "20:00" property string stopTime: "07:00" diff --git a/Services/NightLightService.qml b/Services/NightLightService.qml index 0c781fe..780b205 100644 --- a/Services/NightLightService.qml +++ b/Services/NightLightService.qml @@ -20,7 +20,7 @@ Singleton { // Computed properties property color overlayColor: enabled ? calculateOverlayColor() : "transparent" - property bool isActive: enabled && (autoSchedule ? isWithinSchedule() : true) + property bool isActive: enabled && warmth > 0 && (autoSchedule ? isWithinSchedule() : true) Component.onCompleted: { Logger.log("NightLight", "Service started")