on xenial help sign in
antialias surfaces when in spread Fixes: 1351559

Approved by: Gerry Boland

commite02ad87759713d94046ef9a97d443b23dc3546d9 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 7 Nov 2014, 14:31 (12 years ago) parenta091555906ff5e
2 files changed+2
qml/Stages/ApplicationWindow.qml+1 qml/Stages/SurfaceContainer.qml+1
qml/Stages/ApplicationWindow.qml+1
@@ -74,6 +74,7 @@ Item {
7474 objectName: "screenshotImage"
7575 source: ""
7676 anchors.fill: parent
77+ antialiasing: !root.interactive
7778
7879 function take() {
7980 // Format: "image://application/$APP_ID/$CURRENT_TIME_MS"
qml/Stages/SurfaceContainer.qml+1
@@ -39,6 +39,7 @@ Item {
3939 Binding { target: surface; property: "z"; value: 1 }
4040 Binding { target: surface; property: "enabled"; value: root.interactive; when: surface }
4141 Binding { target: surface; property: "focus"; value: root.interactive; when: surface }
42+ Binding { target: surface; property: "antialiasing"; value: !root.interactive; when: surface }
4243
4344 TouchGate {
4445 targetItem: surface