Fix Brightness (doesn't regenerate colors anymore)
This commit is contained in:
parent
860a65b9ca
commit
25e4dbcfc1
4 changed files with 22 additions and 4 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue