Fix Brightness (doesn't regenerate colors anymore)

This commit is contained in:
Ly-sec 2025-08-15 14:33:57 +02:00
parent 860a65b9ca
commit 25e4dbcfc1
4 changed files with 22 additions and 4 deletions

View file

@ -204,6 +204,8 @@ Singleton {
}
}
function getStoredBrightness(): real {
// Try to get stored brightness for this specific monitor
var stored = Settings.data.brightness.monitorBrightness.find(m => m.name === modelData.name)
@ -283,6 +285,8 @@ Singleton {
initProc.running = true
}
onBusNumChanged: initBrightness()
Component.onCompleted: initBrightness()
}