[vlmc-devel] Timeline: Don't change zoom level when adding a clip

Hugo Beauzée-Luyssen git at videolan.org
Fri Jul 21 19:06:56 CEST 2017


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Nov  4 05:26:49 2016 +0100| [72aff5af8027ec6390545e64aa0feddcf1775e3c] | committer: Yikai Lu

Timeline: Don't change zoom level when adding a clip

This fixes strange/invalid units being used and causing the
thumbnails display to behave badly

Signed-off-by: Yikai Lu <luyikei.qmltu at gmail.com>

> https://code.videolan.org/videolan/vlmc/commit/72aff5af8027ec6390545e64aa0feddcf1775e3c
---

 src/Gui/timeline/main.qml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/Gui/timeline/main.qml b/src/Gui/timeline/main.qml
index 23785261..5a5f05c3 100644
--- a/src/Gui/timeline/main.qml
+++ b/src/Gui/timeline/main.qml
@@ -628,8 +628,6 @@ Rectangle {
             linkedClipsDict[uuid] = clipInfo["linkedClips"];
             addClip( type, clipInfo["trackId"], clipInfo );
             adjustTracks( type );
-
-            zoomIn( page.width / sView.flickableItem.contentWidth, false );
         }
 
         onClipMoved: {



More information about the Vlmc-devel mailing list