Commit df900df3 authored by luyikei's avatar luyikei

Timeline: Don't scroll and zoom out if the clip is bigger than the window

parent df5486ed
......@@ -137,8 +137,8 @@ Item {
}
function scrollToTarget( target ) {
while ( target.width > sView.width )
zoomIn( 0.5 );
if ( target.width > sView.width )
return;
var newContentX = sView.flickableItem.contentX;
......
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