on xenial help sign in
Remove contentScale variable

It's never set to anything other than 1

commitcc5a1a7ede7d76d1410f71f0eb10642f9ec12bc2 authorAlbert Astals <albert.astals@canonical.com> dateThu 9 Oct 2014, 14:04 (12 years ago) parentf2f86a669abf4b
2 files changed+1−4
qml/Dash/Dash.qml+1−3 qml/Dash/ScopesOverview.qml−1
qml/Dash/Dash.qml+1−3
@@ -29,7 +29,6 @@ Showable {
2929 visible: shown
3030
3131 property string showScopeOnLoaded: "clickscope"
32− property real contentScale: 1.0
3332
3433 DashCommunicatorService {
3534 objectName: "dashCommunicatorService"
@@ -191,7 +190,6 @@ Showable {
191190 dash.showScopeOnLoaded = ""
192191 }
193192 }
194− scale: dash.contentScale
195193 clip: scale != 1.0 || scopeItem.visible || overviewController.progress != 0
196194 Behavior on x {
197195 UbuntuNumberAnimation {
@@ -246,7 +244,7 @@ Showable {
246244 y: overviewController.progress == 0 ? dashContent.y : overviewProgressY
247245 width: parent.width
248246 height: parent.height
249− scale: dash.contentScale * overviewProgressScale
247+ scale: overviewProgressScale
250248 enabled: opacity == 1
251249 opacity: 1 - overviewController.progress
252250 clip: scale != 1.0
qml/Dash/ScopesOverview.qml−1
@@ -540,7 +540,6 @@ Item {
540540
541541 width: parent.width
542542 height: parent.height
543− scale: dash.contentScale
544543 clip: scale != 1.0
545544 visible: scope != null
546545 hasBackAction: true