mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 15:12:28 +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 |             visible: false | ||||||
|  |  | ||||||
|  |             smooth: !appSettings.lowResolutionFont | ||||||
|  |  | ||||||
|             function restartBlurSource(){ |             function restartBlurSource(){ | ||||||
|                 livetimer.restart(); |                 livetimer.restart(); | ||||||
|             } |             } | ||||||
| @@ -271,8 +273,13 @@ Item{ | |||||||
|     Loader{ |     Loader{ | ||||||
|         id: blurredTerminalLoader |         id: blurredTerminalLoader | ||||||
|  |  | ||||||
|         width: kterminal.width * scaleTexture * appSettings.burnInQuality |         width: appSettings.lowResolutionFont | ||||||
|         height: kterminal.height * scaleTexture * appSettings.burnInQuality |                   ? kterminal.width | ||||||
|  |                   : kterminal.width * scaleTexture * appSettings.burnInQuality | ||||||
|  |         height: appSettings.lowResolutionFont | ||||||
|  |                     ? kterminal.height | ||||||
|  |                     : kterminal.height * scaleTexture * appSettings.burnInQuality | ||||||
|  |  | ||||||
|         active: mBlur !== 0 |         active: mBlur !== 0 | ||||||
|         asynchronous: true |         asynchronous: true | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user