mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-30 06:34:16 +00:00 
			
		
		
		
	Fix smooth, reenable antialising and remove few useless lines.
This commit is contained in:
		| @@ -45,8 +45,6 @@ Item{ | ||||
|     property real _minBlurCoefficient: 0.70 | ||||
|     property real _maxBlurCoefficient: 0.90 | ||||
|  | ||||
|     property size virtualPxSize: Qt.size(1,1) | ||||
|  | ||||
|     property real mBloom: shadersettings.bloom_strength | ||||
|     property int mScanlines: shadersettings.rasterization | ||||
|     onMScanlinesChanged: restartBlurredSource() | ||||
| @@ -168,7 +166,7 @@ Item{ | ||||
|         id: kterminalSource | ||||
|         sourceItem: kterminal | ||||
|         hideSource: true | ||||
|         smooth: false | ||||
|         smooth: mScanlines == shadersettings.no_rasterization | ||||
|     } | ||||
|     Loader{ | ||||
|         id: blurredSourceLoader | ||||
| @@ -180,7 +178,8 @@ Item{ | ||||
|             recursive: true | ||||
|             live: false | ||||
|             hideSource: true | ||||
|             smooth: false | ||||
|  | ||||
|             smooth: mScanlines == shadersettings.no_rasterization | ||||
|  | ||||
|             function restartBlurSource(){ | ||||
|                 livetimer.restart(); | ||||
|   | ||||
| @@ -32,8 +32,6 @@ ShaderEffect { | ||||
|     property size txt_Size: Qt.size(frame.sourceRect.width, frame.sourceRect.height) | ||||
|     property real bloom_strength: shadersettings.bloom_strength * 2.5 | ||||
|  | ||||
|     property int rasterization: shadersettings.rasterization | ||||
|  | ||||
|     property real jitter: shadersettings.jitter * 0.007 | ||||
|  | ||||
|     property real noise_strength: shadersettings.noise_strength | ||||
|   | ||||
| @@ -87,7 +87,7 @@ const ColorEntry base_color_table[TABLE_COLORS] = | ||||
| // scroll increment used when dragging selection at top/bottom of window. | ||||
|  | ||||
| // static | ||||
| bool KTerminalDisplay::_antialiasText = false; | ||||
| bool KTerminalDisplay::_antialiasText = true; | ||||
| bool KTerminalDisplay::HAVE_TRANSPARENCY = true; | ||||
|  | ||||
| // we use this to force QPainter to display text in LTR mode | ||||
|   | ||||
		Reference in New Issue
	
	Block a user