Commit 12b5cd68 authored by Till Theato's avatar Till Theato
Browse files

Fix on-monitor controls in corners effect shifted when clip is cropped from start

svn path=/trunk/kdenlive/; revision=5553
parent e70837e3
...@@ -197,8 +197,8 @@ void CornersWidget::slotSyncPosition(int relTimelinePos) ...@@ -197,8 +197,8 @@ void CornersWidget::slotSyncPosition(int relTimelinePos)
{ {
if (keyframe_list->rowCount()) { if (keyframe_list->rowCount()) {
relTimelinePos = qBound(0, relTimelinePos, m_max); relTimelinePos = qBound(0, relTimelinePos, m_max);
if (relTimelinePos != m_pos) { if (relTimelinePos != m_pos - m_min) {
m_pos = relTimelinePos; m_pos = relTimelinePos + m_min;
slotUpdateItem(); slotUpdateItem();
} }
} }
......
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