mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-18 12:15:27 +00:00
Fix: texture quality and burnin sliders now have effect on image quality when low res fornts are used.
This commit is contained in:
parent
cc1d77ea32
commit
c6716e1b1a
@ -120,8 +120,8 @@ Item{
|
||||
font.family = fontLoader.name;
|
||||
|
||||
terminalContainer.fontWidth = fontWidth;
|
||||
terminalContainer.screenScaling= screenScaling;
|
||||
scaleTexture = Math.max(1.0, Math.round(screenScaling / 2));
|
||||
terminalContainer.screenScaling = screenScaling;
|
||||
scaleTexture = Math.max(1.0, Math.floor(screenScaling * appSettings.windowScaling));
|
||||
|
||||
kterminal.lineSpacing = lineSpacing;
|
||||
}
|
||||
@ -237,8 +237,6 @@ Item{
|
||||
|
||||
visible: false
|
||||
|
||||
smooth: !appSettings.lowResolutionFont
|
||||
|
||||
function restartBlurSource(){
|
||||
livetimer.restart();
|
||||
}
|
||||
@ -273,11 +271,13 @@ Item{
|
||||
Loader{
|
||||
id: blurredTerminalLoader
|
||||
|
||||
property int burnInScaling: scaleTexture * appSettings.burnInQuality
|
||||
|
||||
width: appSettings.lowResolutionFont
|
||||
? kterminal.width
|
||||
? kterminal.width * Math.max(1, burnInScaling)
|
||||
: kterminal.width * scaleTexture * appSettings.burnInQuality
|
||||
height: appSettings.lowResolutionFont
|
||||
? kterminal.height
|
||||
? kterminal.height * Math.max(1, burnInScaling)
|
||||
: kterminal.height * scaleTexture * appSettings.burnInQuality
|
||||
|
||||
active: mBlur !== 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user