summaryrefslogtreecommitdiff
path: root/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-13 01:34:28 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-13 01:34:28 +0200
commit31e3450a84df7c1c64617299180813c975fbb877 (patch)
tree14e6e6c165af2b5aa3310cc49241837a7ee1d4b8 /metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml
parent76544a015e0db637e1328ad66da9bef3c50f8217 (diff)
downloadsowatch-31e3450a84df7c1c64617299180813c975fbb877.tar.gz
sowatch-31e3450a84df7c1c64617299180813c975fbb877.zip
bump to 0.5 and random fixes
Diffstat (limited to 'metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml')
-rw-r--r--metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml3
1 files changed, 0 insertions, 3 deletions
diff --git a/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml b/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml
index 3b6c44e..4d5d477 100644
--- a/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml
+++ b/metawatch/qml/com/javispedro/sowatch/metawatch/MWScrollable.qml
@@ -14,11 +14,8 @@ Flickable {
contentHeight: contentItem.childrenRect.height
function scrollDown() {
- console.log(contentHeight + " " + height);
- console.log(childrenRect.height);
var maxY = Math.max(0, contentHeight - height);
var newContentY = contentY + 96/3;
- console.log(maxY + " " + newContentY);
if (newContentY > maxY) {
contentY = maxY; // Never overscroll.