MacOS improvements #694

Merged
Swordfish90 merged 9 commits from osx-fixes into master 2022-01-09 10:56:30 +01:00
Showing only changes of commit 997131ba64 - Show all commits

View File

@ -29,7 +29,6 @@ Loader {
property real lastUpdate: 0 property real lastUpdate: 0
property real prevLastUpdate: 0 property real prevLastUpdate: 0
property real delay: (1.0 / appSettings.fps) * 1000
property real burnIn: appSettings.burnIn property real burnIn: appSettings.burnIn
property real burnInFadeTime: 1 / Utils.lint(_minBurnInFadeTime, _maxBurnInFadeTime, burnIn) property real burnInFadeTime: 1 / Utils.lint(_minBurnInFadeTime, _maxBurnInFadeTime, burnIn)
property real _minBurnInFadeTime: appSettings.minBurnInFadeTime property real _minBurnInFadeTime: appSettings.minBurnInFadeTime
@ -49,7 +48,7 @@ Loader {
item.source.scheduleUpdate() item.source.scheduleUpdate()
} }
function restartBlurSource(){ function restartBlurSource() {
prevLastUpdate = timeManager.time prevLastUpdate = timeManager.time
lastUpdate = prevLastUpdate lastUpdate = prevLastUpdate
completelyUpdate() completelyUpdate()
@ -82,7 +81,7 @@ Loader {
} }
} }
// Restart blurred source settings change. // Restart blurred source settings change.
Connections{ Connections {
target: appSettings target: appSettings
function onBurnInChanged() { function onBurnInChanged() {
@ -101,14 +100,6 @@ Loader {
burnInEffect.restartBlurSource() burnInEffect.restartBlurSource()
} }
} }
Connections {
target: kterminalScrollbar
function onOpacityChanged() {
completelyUpdate()
}
}
} }
ShaderLibrary { ShaderLibrary {