mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +00:00 
			
		
		
		
	Optimize burn-in effect when low res font is used. We can actually use a much lower-res accumulator too.
This commit is contained in:
		| @@ -237,6 +237,8 @@ Item{ | ||||
|  | ||||
|             visible: false | ||||
|  | ||||
|             smooth: !appSettings.lowResolutionFont | ||||
|  | ||||
|             function restartBlurSource(){ | ||||
|                 livetimer.restart(); | ||||
|             } | ||||
| @@ -271,8 +273,13 @@ Item{ | ||||
|     Loader{ | ||||
|         id: blurredTerminalLoader | ||||
|  | ||||
|         width: kterminal.width * scaleTexture * appSettings.burnInQuality | ||||
|         height: kterminal.height * scaleTexture * appSettings.burnInQuality | ||||
|         width: appSettings.lowResolutionFont | ||||
|                   ? kterminal.width | ||||
|                   : kterminal.width * scaleTexture * appSettings.burnInQuality | ||||
|         height: appSettings.lowResolutionFont | ||||
|                     ? kterminal.height | ||||
|                     : kterminal.height * scaleTexture * appSettings.burnInQuality | ||||
|  | ||||
|         active: mBlur !== 0 | ||||
|         asynchronous: true | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user