mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +00:00 
			
		
		
		
	More Connections refactorings.
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user