on xenial help sign in
fixed restarting scroll
fa6c40aNick Dedekind
qml/Components/ScrollCalculator.qml+4−1
@@ -20,7 +20,7 @@ import Ubuntu.Components 1.3
20Item {
20Item {
21 id: scrollArea
21 id: scrollArea
22
22
23− readonly property bool areaActive: lateralPosition >= 0 && progressThreshold * width
23+ readonly property bool areaActive: lateralPosition >= 0
24 property real stopScrollThreshold: units.gu(2)
24 property real stopScrollThreshold: units.gu(2)
25 property real progressThreshold: units.dp(4)
25 property real progressThreshold: units.dp(4)
26 property int direction: Qt.LeftToRight
26 property int direction: Qt.LeftToRight
@@ -41,6 +41,9 @@ Item {
41 scrollTimer.restart();
41 scrollTimer.restart();
42 d.init = true;
42 d.init = true;
43 d.passedProgressThreshold = false;
43 d.passedProgressThreshold = false;
44+
45+ d.progression = 0;
46+ d.startingProgression = 0;
44 }
47 }
45
48
46 function handleExit() {
49 function handleExit() {