mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-20 20:09:14 +00:00
Fix noise element sizes with different rasterizations.
This commit is contained in:
parent
c94e31f82a
commit
7bd8b56657
@ -278,7 +278,8 @@ Item{
|
||||
ShaderEffect {
|
||||
id: staticNoiseEffect
|
||||
anchors.fill: parent
|
||||
property size virtual_resolution: Qt.size(kterminal.width, kterminal.height)
|
||||
property real element_size: shadersettings.rasterization == shadersettings.no_rasterization ? 2 : 1
|
||||
property size virtual_resolution: Qt.size(kterminal.width / element_size, kterminal.height / element_size)
|
||||
|
||||
blending: false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user