Commit 776d00b4 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix 1 frame offset in clip monitor zone causing issues on timeline insert

parent 4a777724
...@@ -876,7 +876,7 @@ void Monitor::slotStartDrag() ...@@ -876,7 +876,7 @@ void Monitor::slotStartDrag()
QStringList list; QStringList list;
list.append(m_controller->AbstractProjectItem::clipId()); list.append(m_controller->AbstractProjectItem::clipId());
list.append(QString::number(p.x())); list.append(QString::number(p.x()));
list.append(QString::number(p.y())); list.append(QString::number(p.y() - 1));
prodData.append(list.join(QLatin1Char('/')).toUtf8()); prodData.append(list.join(QLatin1Char('/')).toUtf8());
} }
mimeData->setData(QStringLiteral("kdenlive/producerslist"), prodData); mimeData->setData(QStringLiteral("kdenlive/producerslist"), prodData);
......
...@@ -329,7 +329,7 @@ Item { ...@@ -329,7 +329,7 @@ Item {
Drag.active: dragVideoArea.drag.active Drag.active: dragVideoArea.drag.active
Drag.dragType: Drag.Automatic Drag.dragType: Drag.Automatic
Drag.mimeData: { Drag.mimeData: {
"kdenlive/producerslist" : "V" + controller.clipId + "/" + controller.zoneIn + "/" + controller.zoneOut "kdenlive/producerslist" : "V" + controller.clipId + "/" + controller.zoneIn + "/" + (controller.zoneOut - 1)
} }
MouseArea { MouseArea {
id: dragVideoArea id: dragVideoArea
......
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