To make the code more readable, instead of explicitly triggering state changes upon contentYChanged or draggingChanged, use the 'when' property of the states (http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-state.html#when-prop).
« Back to merge proposal
To make the code more readable, instead of explicitly triggering state changes upon contentYChanged or draggingChanged, use the 'when' property of the states (http:// qt-project. org/doc/ qt-5.0/ qtquick/ qml-qtquick2- state.html# when-prop).