Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Fix composition inserted on wrong track through context menu

parent 6e320d28
......@@ -225,7 +225,7 @@ Rectangle {
title: i18n('Insert a composition...')
menuModel: transitionModel
onAssetSelected: {
var track = Logic.getTrackIdFromPos(menu.clickedY)
var track = Logic.getTrackIdFromPos(menu.clickedY - ruler.height)
var frame = Math.round((menu.clickedX + scrollView.flickableItem.contentX) / timeline.scaleFactor)
var id = timeline.insertComposition(track, frame, assetId, true)
if (id == -1) {
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