mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 12:15:27 +00:00
More Connections refactorings.
This commit is contained in:
parent
aa270067f6
commit
f69f2df63c
@ -61,8 +61,9 @@ Loader {
|
||||
Connections {
|
||||
target: burnInSourceEffect.updateBurnIn ? timeManager : null
|
||||
ignoreUnknownSignals: false
|
||||
onTimeChanged: {
|
||||
burnInSourceEffect.scheduleUpdate();
|
||||
|
||||
function onTimeChanged() {
|
||||
burnInSourceEffect.scheduleUpdate()
|
||||
}
|
||||
}
|
||||
|
||||
@ -79,7 +80,8 @@ Loader {
|
||||
}
|
||||
Connections {
|
||||
target: kterminal
|
||||
onImagePainted:{
|
||||
|
||||
function onImagePainted() {
|
||||
burnInSourceEffect.scheduleUpdate();
|
||||
burnInSourceEffect.updateBurnIn = true;
|
||||
livetimer.restart();
|
||||
@ -88,14 +90,29 @@ Loader {
|
||||
// Restart blurred source settings change.
|
||||
Connections {
|
||||
target: appSettings
|
||||
onBurnInChanged: burnInSourceEffect.restartBlurSource();
|
||||
onTerminalFontChanged: burnInSourceEffect.restartBlurSource();
|
||||
onRasterizationChanged: burnInSourceEffect.restartBlurSource();
|
||||
onBurnInQualityChanged: burnInSourceEffect.restartBlurSource();
|
||||
|
||||
function onBurnInChanged() {
|
||||
burnInSourceEffect.restartBlurSource()
|
||||
}
|
||||
|
||||
function onTerminalFontChanged() {
|
||||
burnInSourceEffect.restartBlurSource()
|
||||
}
|
||||
|
||||
function onRasterizationChanged() {
|
||||
burnInSourceEffect.restartBlurSource()
|
||||
}
|
||||
|
||||
function onBurnInQualityChanged() {
|
||||
burnInSourceEffect.restartBlurSource()
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: kterminalScrollbar
|
||||
onOpacityChanged: burnInSourceEffect.restartBlurSource();
|
||||
|
||||
function onOpacityChanged() {
|
||||
burnInSourceEffect.restartBlurSource()
|
||||
}
|
||||
}
|
||||
|
||||
ShaderEffect {
|
||||
|
Loading…
x
Reference in New Issue
Block a user