mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-30 01:16:33 +02:00
[ui] specify keys for DropAreas
This commit is contained in:
parent
1e462d94de
commit
014c1fe25f
3 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,7 @@ RowLayout {
|
|||
property bool acceptableDrop: false
|
||||
|
||||
anchors.fill: parent
|
||||
|
||||
keys: [dragTarget.objectName]
|
||||
onEntered: {
|
||||
// Filter drops:
|
||||
if( drag.source.objectName != dragTarget.objectName // not an edge connector
|
||||
|
@ -81,6 +81,7 @@ RowLayout {
|
|||
//anchors.verticalCenter: root.verticalCenter
|
||||
width: 2
|
||||
height: 2
|
||||
Drag.keys: [dragTarget.objectName]
|
||||
Drag.active: connectMA.drag.active
|
||||
Drag.hotSpot.x: width*0.5
|
||||
Drag.hotSpot.y: height*0.5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue