1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 15:42:12 +00:00

Allow screen margin customization.

This commit is contained in:
Filippo Scognamiglio
2018-12-16 22:30:03 +01:00
parent 0431103a1d
commit 0d3c0a2233
5 changed files with 59 additions and 22 deletions

View File

@@ -36,12 +36,12 @@ Loader {
property int burnInScaling: scaleTexture * appSettings.burnInQuality
width: appSettings.lowResolutionFont
? kterminal.width * Math.max(1, burnInScaling)
: kterminal.width * scaleTexture * appSettings.burnInQuality
? kterminal.totalWidth * Math.max(1, burnInScaling)
: kterminal.totalWidth * scaleTexture * appSettings.burnInQuality
height: appSettings.lowResolutionFont
? kterminal.height * Math.max(1, burnInScaling)
: kterminal.height * scaleTexture * appSettings.burnInQuality
? kterminal.totalHeight * Math.max(1, burnInScaling)
: kterminal.totalHeight * scaleTexture * appSettings.burnInQuality
ShaderEffectSource {
id: burnInEffectSource
@@ -52,7 +52,7 @@ Loader {
live: false
recursive: true
hideSource: true
wrapMode: kterminalSource.wrapMode
wrapMode: ShaderEffectSource.ClampToEdge
format: ShaderEffectSource.RGBA