mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-11-28 08:11:17 +00:00
Profile change does not affect brightess, contrast or windowOpacity.
This commit is contained in:
parent
b1bb2c8ee2
commit
24a93c8bb4
@ -138,7 +138,9 @@ ApplicationWindow {
|
||||
current -= 1
|
||||
current = current < 0 ? appSettings.profilesList.count - 1 : current
|
||||
appSettings.currentProfileIndex = current
|
||||
var unload = (appSettings.brightness, appSettings.contrast, appSettings.windowOpacity)
|
||||
appSettings.loadProfile(current)
|
||||
appSettings.brightness, appSettings.contrast, appSettings.windowOpacity = unload
|
||||
}
|
||||
}
|
||||
Action {
|
||||
@ -151,7 +153,9 @@ ApplicationWindow {
|
||||
current += 1
|
||||
current = current < appSettings.profilesList.count ? current : 0
|
||||
appSettings.currentProfileIndex = current
|
||||
var unload = (appSettings.brightness, appSettings.contrast, appSettings.windowOpacity)
|
||||
appSettings.loadProfile(current)
|
||||
appSettings.brightness, appSettings.contrast, appSettings.windowOpacity = unload
|
||||
}
|
||||
}
|
||||
Action {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user