Allow margin changes during Flickable drag operation
authorMatt Vogt <matthew.vogt@jollamobile.com>
Mon, 19 Nov 2012 01:03:20 +0000 (11:03 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 19 Nov 2012 01:52:44 +0000 (02:52 +0100)
commit0c74cbcccb52e296667c6bc171084f4946daef61
treea8b2622e4731f7c2b3a3c4d9ce67b56eaee4d7e5
parente7ebed77d60a05983ec7f9e6d221324b2e7f1a22
Allow margin changes during Flickable drag operation

Previously, the dimensions of the flickable were captured at mouse
press and reused during dragging, which causes problems if the margins
of the Flickable are altered during the drag. Adjust the captured
values so that margin changes are correctly handled.

Change-Id: I1ce608dcc1302ea8639bf18a81361b27749b217b
Reviewed-by: Martin Jones <martin.jones@qinetic.com.au>
src/quick/items/qquickflickable.cpp