Commit 1cd61f03 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ClipHelper: Fixing resize boundaries.

parent 46b19e1e
......@@ -44,7 +44,7 @@ ClipHelper::ClipHelper( Clip* clip, qint64 begin /*= -1*/, qint64 end /*= -1*/,
void
ClipHelper::setBegin( qint64 begin )
{
if ( begin <= m_clip->m_begin )
if ( begin < m_clip->m_begin )
return ;
m_begin = begin;
emit lengthUpdated();
......@@ -53,7 +53,7 @@ ClipHelper::setBegin( qint64 begin )
void
ClipHelper::setEnd( qint64 end )
{
if ( end >= m_clip->m_end )
if ( end > m_clip->m_end )
return ;
m_end = end;
emit lengthUpdated();
......
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