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
1=== modified file 'qml/Dash/Dash.qml'
2--- qml/Dash/Dash.qml 2014-10-06 08:00:45 +0000
3+++ qml/Dash/Dash.qml 2014-10-08 16:07:38 +0000
4@@ -29,7 +29,6 @@
5 visible: shown
6
7 property string showScopeOnLoaded: "clickscope"
8- property real contentScale: 1.0
9
10 DashCommunicatorService {
11 objectName: "dashCommunicatorService"
12@@ -190,7 +189,6 @@
13 dash.showScopeOnLoaded = ""
14 }
15 }
16- scale: dash.contentScale
17 clip: scale != 1.0 || scopeItem.visible || overviewController.progress != 0
18 Behavior on x {
19 UbuntuNumberAnimation {
20@@ -245,7 +243,7 @@
21 y: overviewController.progress == 0 ? dashContent.y : overviewProgressY
22 width: parent.width
23 height: parent.height
24- scale: dash.contentScale * overviewProgressScale
25+ scale: overviewProgressScale
26 enabled: opacity == 1
27 opacity: 1 - overviewController.progress
28 clip: scale != 1.0
29
30=== modified file 'qml/Dash/ScopesOverview.qml'
31--- qml/Dash/ScopesOverview.qml 2014-09-18 21:23:55 +0000
32+++ qml/Dash/ScopesOverview.qml 2014-10-08 16:07:38 +0000
33@@ -531,7 +531,6 @@
34
35 width: parent.width
36 height: parent.height
37- scale: dash.contentScale
38 clip: scale != 1.0
39 visible: scope != null
40 hasBackAction: true

Subscribers

People subscribed via source and target branches