Commit 7a2334ce authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix foxus issue on effect drop

parent 0274866f
Pipeline #154698 passed with stage
in 6 minutes and 47 seconds
......@@ -283,6 +283,7 @@ Rectangle {
dropSource = ''
dropRow = -1
drag.acceptProposedAction
root.regainFocus(mapToItem(root, drag.x, drag.y))
//console.log('KFR VIEW VISIBLE: ', effectRow.visible, ', SOURCE: ', effectRow.source, '\n HIDEVIEW:', clipRoot.hideClipViews<<', UNDEFINED: ', (clipRoot.keyframeModel == undefined))
}
onExited: {
......
......@@ -626,7 +626,7 @@ Rectangle {
}
}
clearDropData()
regainFocus(Qt.point(drag.x + trackHeaders.width, drag.y + ruler.height))
regainFocus(mapToItem(root, drag.x, drag.y))
}
}
DropArea {
......@@ -791,7 +791,7 @@ Rectangle {
}
onDropped: {
processDrop()
regainFocus(Qt.point(drag.x + trackHeaders.width, drag.y + ruler.height))
regainFocus(mapToItem(root, drag.x, drag.y))
}
}
DropArea { //Drop area for urls (direct drop from file manager)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment