Release: v2.3.0
- add NightLight - better positioning of panels below their widgets - quality of life changes/fixes
This commit is contained in:
parent
76f0368a64
commit
45b0fbeb4a
2 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ Singleton {
|
||||||
// night light
|
// night light
|
||||||
property JsonObject nightLight: JsonObject {
|
property JsonObject nightLight: JsonObject {
|
||||||
property bool enabled: false
|
property bool enabled: false
|
||||||
property real warmth: 0.0
|
property real warmth: 0.1
|
||||||
property real intensity: 0.8
|
property real intensity: 0.8
|
||||||
property string startTime: "20:00"
|
property string startTime: "20:00"
|
||||||
property string stopTime: "07:00"
|
property string stopTime: "07:00"
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ Singleton {
|
||||||
|
|
||||||
// Computed properties
|
// Computed properties
|
||||||
property color overlayColor: enabled ? calculateOverlayColor() : "transparent"
|
property color overlayColor: enabled ? calculateOverlayColor() : "transparent"
|
||||||
property bool isActive: enabled && (autoSchedule ? isWithinSchedule() : true)
|
property bool isActive: enabled && warmth > 0 && (autoSchedule ? isWithinSchedule() : true)
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
Logger.log("NightLight", "Service started")
|
Logger.log("NightLight", "Service started")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue