[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-mobile] applets/active-welcome/contents/code: fix the flick
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-11-20 19:21:42
Message-ID: 20111120192142.1D8CFA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 029f9d0f6615cb047ae150c49e6ff4f1e77082d4 by Marco Martin.
Committed on 20/11/2011 at 20:19.
Pushed by mart into branch 'master'.

fix the flick gesture

M  +1    -1    applets/active-welcome/contents/code/welcome.qml

http://commits.kde.org/plasma-mobile/029f9d0f6615cb047ae150c49e6ff4f1e77082=
d4

diff --git a/applets/active-welcome/contents/code/welcome.qml b/applets/act=
ive-welcome/contents/code/welcome.qml
index eee3bff..cf49d2f 100644
--- a/applets/active-welcome/contents/code/welcome.qml
+++ b/applets/active-welcome/contents/code/welcome.qml
@@ -51,7 +51,7 @@ Item {
         onReleased: {
             if (mouse.x - startX > 30) {
                 previousPage()
-            } else {
+            } else if (mouse.x - startX < -30) {
                 nextPage()
             }
         }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic