Merge lp:~martin-borho/ubuntu-weather-app/fix-1320364-phone-detail-hourls-scolling into lp:ubuntu-weather-app/obsolete.trunk

Proposed by Martin Borho
Status: Merged
Approved by: Alan Pope 🍺🐧🐱 πŸ¦„
Approved revision: 283
Merged at revision: 285
Proposed branch: lp:~martin-borho/ubuntu-weather-app/fix-1320364-phone-detail-hourls-scolling
Merge into: lp:ubuntu-weather-app/obsolete.trunk
Diff against target: 12 lines (+1/-1)
1 file modified
components/ScrollingArea.qml (+1/-1)
To merge this branch: bzr merge lp:~martin-borho/ubuntu-weather-app/fix-1320364-phone-detail-hourls-scolling
Reviewer Review Type Date Requested Status
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+224583@code.launchpad.net

Commit message

Hourly scrolling now possible too on flipped detail view in phone mode

Description of the change

Hourly scrolling now possible too on flipped detail view in phone mode.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Works a treat! Thanks Martin.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'components/ScrollingArea.qml'
2--- components/ScrollingArea.qml 2014-06-12 12:38:55 +0000
3+++ components/ScrollingArea.qml 2014-06-26 10:54:12 +0000
4@@ -58,7 +58,7 @@
5 var distance = (flippedarea.height - mouse.y),
6 now = new Date().getTime(),
7 speed = distance/(now-startTime);
8- if(speed < 2.3 && !flipable.flipped) {
9+ if(speed < 2.3) {
10 // slow scrolling detected
11 var movement = Math.round(distance/sectionHeight);
12 if(movement > 0) {

Subscribers

People subscribed via source and target branches