Merge lp:~aacid/unity8/noDashContentScale into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Michał Sawicz
Approved revision: 1335
Merged at revision: 1349
Proposed branch: lp:~aacid/unity8/noDashContentScale
Merge into: lp:unity8
Diff against target: 40 lines (+1/-4)
2 files modified
qml/Dash/Dash.qml (+1/-3)
qml/Dash/ScopesOverview.qml (+0/-1)
To merge this branch: bzr merge lp:~aacid/unity8/noDashContentScale
Reviewer Review Type Date Requested Status
Michał Sawicz Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+237626@code.launchpad.net

Commit message

Remove contentScale variable

It's never set to anything other than 1

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

 * Did you make sure that your branch does not contain spurious tags?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Y
 * Did CI run pass? If not, please explain why.
Flaky autopilot
 * Did you make sure that the branch does not contain spurious tags?
Y

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qml/Dash/Dash.qml'
--- qml/Dash/Dash.qml 2014-10-06 08:00:45 +0000
+++ qml/Dash/Dash.qml 2014-10-08 16:07:38 +0000
@@ -29,7 +29,6 @@
29 visible: shown29 visible: shown
3030
31 property string showScopeOnLoaded: "clickscope"31 property string showScopeOnLoaded: "clickscope"
32 property real contentScale: 1.0
3332
34 DashCommunicatorService {33 DashCommunicatorService {
35 objectName: "dashCommunicatorService"34 objectName: "dashCommunicatorService"
@@ -190,7 +189,6 @@
190 dash.showScopeOnLoaded = ""189 dash.showScopeOnLoaded = ""
191 }190 }
192 }191 }
193 scale: dash.contentScale
194 clip: scale != 1.0 || scopeItem.visible || overviewController.progress != 0192 clip: scale != 1.0 || scopeItem.visible || overviewController.progress != 0
195 Behavior on x {193 Behavior on x {
196 UbuntuNumberAnimation {194 UbuntuNumberAnimation {
@@ -245,7 +243,7 @@
245 y: overviewController.progress == 0 ? dashContent.y : overviewProgressY243 y: overviewController.progress == 0 ? dashContent.y : overviewProgressY
246 width: parent.width244 width: parent.width
247 height: parent.height245 height: parent.height
248 scale: dash.contentScale * overviewProgressScale246 scale: overviewProgressScale
249 enabled: opacity == 1247 enabled: opacity == 1
250 opacity: 1 - overviewController.progress248 opacity: 1 - overviewController.progress
251 clip: scale != 1.0249 clip: scale != 1.0
252250
=== modified file 'qml/Dash/ScopesOverview.qml'
--- qml/Dash/ScopesOverview.qml 2014-09-18 21:23:55 +0000
+++ qml/Dash/ScopesOverview.qml 2014-10-08 16:07:38 +0000
@@ -531,7 +531,6 @@
531531
532 width: parent.width532 width: parent.width
533 height: parent.height533 height: parent.height
534 scale: dash.contentScale
535 clip: scale != 1.0534 clip: scale != 1.0
536 visible: scope != null535 visible: scope != null
537 hasBackAction: true536 hasBackAction: true

Subscribers

People subscribed via source and target branches