Commit a00b6b5f authored by luyikei's avatar luyikei

Track.qml: Call onPositionChanged manually when onEntered is called

parent e03a8002
......@@ -188,8 +188,12 @@ Item {
}
lastX = drag.x;
}
else
else {
lastX = drag.source.x;
// HACK: Call onPositoinChanged forcely here.
// x will be rounded so it won't affect actual its position.
drag.source.x = drag.source.x + 0.000001;
}
}
onPositionChanged: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment