[-]
[+]
|
Changed |
_service:tar_git:harbour-twablet-0.6.2.tar.bz2/src/bin/qml/pages/LayoutItemDelegate.qml
^
|
@@ -54,8 +54,9 @@
property bool held: false
width: container.width
height: Theme.itemSizeMedium
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.verticalCenter: parent.verticalCenter
+ parent: held ? container.page : container
+ anchors.horizontalCenter: held ? undefined : parent.horizontalCenter
+ anchors.verticalCenter: held ? undefined : parent.verticalCenter
Drag.active: content.held
Drag.source: container
Drag.hotSpot.x: width / 2
|