Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Fix allow drag method name

parent 571170a7
......@@ -53,7 +53,7 @@ Rectangle {
onEntered: {
if (drag.formats.indexOf('kdenlive/producerslist') >= 0) {
track = Logic.getTrackFromPos(drag.y)
if (track >= 0 && timeline.availableSpace(track, drag.x / timeline.scaleFactor, drag.text)) {
if (track >= 0 && timeline.allowMove(track, drag.x / timeline.scaleFactor, drag.text)) {
drag.acceptProposedAction()
} else {
drag.accepted = false
......
Markdown is supported
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