Fix timeline zone out is 1 frame before expected position

parent 253885cb
Pipeline #24157 passed with stage
in 20 minutes and 37 seconds
......@@ -599,7 +599,7 @@ void MonitorManager::slotSetOutPoint()
} else if (m_activeMonitor == m_projectMonitor) {
QPoint sourceZone = m_projectMonitor->getZoneInfo();
QPoint destZone = sourceZone;
destZone.setY(m_projectMonitor->position());
destZone.setY(m_projectMonitor->position() + 1);
if (destZone.y() < destZone.x()) {
destZone.setX(qMax(0, destZone.y() - (sourceZone.y() - sourceZone.x())));
}
......
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