@@ -236,7 +236,11 @@ Showable {
236236 PanelVelocityCalculator {
237237 id: yVelocityCalculator
238238 velocityThreshold: d.hasCommitted ? 0.1 : 0.3
239− trackedValue: d.activeDragHandle ? d.activeDragHandle.touchSceneY : 0
239+ trackedValue: d.activeDragHandle ?
240+ (Direction.isPositive(d.activeDragHandle.direction) ?
241+ d.activeDragHandle.distance :
242+ -d.activeDragHandle.distance)
243+ : 0
240244
241245 onVelocityAboveThresholdChanged: d.updateState()
242246 }