From 99df010547b661260f57d605bf24b23e243952aa Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Sat, 31 May 2014 19:30:22 +0200 Subject: [PATCH] Scanlines now look the same with every frame. --- app/frames/BlackRoughFrame.qml | 4 ++-- app/frames/NoFrame.qml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/frames/BlackRoughFrame.qml b/app/frames/BlackRoughFrame.qml index 7bc688a..74dd56f 100644 --- a/app/frames/BlackRoughFrame.qml +++ b/app/frames/BlackRoughFrame.qml @@ -14,8 +14,8 @@ TerminalFrame{ imageSource: "../images/black-frame.png" normalsSource: "../images/black-frame-normals.png" - rectX: 20 - rectY: 20 + rectX: 15 + rectY: 15 distortionCoefficient: 1.9 diff --git a/app/frames/NoFrame.qml b/app/frames/NoFrame.qml index 0b7f842..806e437 100644 --- a/app/frames/NoFrame.qml +++ b/app/frames/NoFrame.qml @@ -11,10 +11,9 @@ TerminalFrame{ borderRight: 0 borderTop: 0 borderBottom: 0 - sourceRect: Qt.rect(-15, - -15, - terminal.width + 30, - terminal.height + 30) + + rectX: 15 + rectY: 15 displacementLeft: 0 displacementTop: 0