Put the hostpot as the press position
we should drop the window on the desktop under the cursor, not under the center of the thumbnail BUG:454584
This commit is contained in:
parent
4874066423
commit
6abce1529a
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ FocusScope {
|
|||
|
||||
Drag.active: thumb.activeDragHandler.active
|
||||
Drag.source: thumb.client
|
||||
Drag.hotSpot: Qt.point(width * 0.5, height * 0.5)
|
||||
Drag.hotSpot: Qt.point(
|
||||
thumb.activeDragHandler.centroid.pressPosition.x * thumb.activeDragHandler.targetScale,
|
||||
thumb.activeDragHandler.centroid.pressPosition.y * thumb.activeDragHandler.targetScale)
|
||||
|
||||
states: [
|
||||
State {
|
||||
|
|
Loading…
Reference in a new issue