From: Till Theato Date: Sat, 23 Apr 2011 22:12:27 +0000 (+0000) Subject: Fix on-monitor controls in corners effect shifted when clip is cropped from start X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=12b5cd682d1d614c9a21a73f9d07b8502b6de4b9;p=kdenlive Fix on-monitor controls in corners effect shifted when clip is cropped from start svn path=/trunk/kdenlive/; revision=5553 --- diff --git a/src/cornerswidget.cpp b/src/cornerswidget.cpp index 1987b7ca..6582c5b0 100644 --- a/src/cornerswidget.cpp +++ b/src/cornerswidget.cpp @@ -197,8 +197,8 @@ void CornersWidget::slotSyncPosition(int relTimelinePos) { if (keyframe_list->rowCount()) { relTimelinePos = qBound(0, relTimelinePos, m_max); - if (relTimelinePos != m_pos) { - m_pos = relTimelinePos; + if (relTimelinePos != m_pos - m_min) { + m_pos = relTimelinePos + m_min; slotUpdateItem(); } }