Commit 50d55c2d authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix cannot drag clip from monitor

parent 244e8b4a
Pipeline #211678 passed with stage
in 7 minutes and 33 seconds
......@@ -817,7 +817,7 @@ void ClipController::setZone(const QPoint &zone)
QPoint ClipController::zone() const
{
int in = getProducerIntProperty(QStringLiteral("kdenlive:zone_in"));
int max = getFramePlaytime();
int max = getFramePlaytime() - 1;
int out = qMin(getProducerIntProperty(QStringLiteral("kdenlive:zone_out")), max);
if (out <= in) {
out = max;
......
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