[vlmc-devel] Don't zoomIn onLengthChanged
Yikai Lu
git at videolan.org
Thu Jul 28 14:39:19 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed Jul 27 21:49:20 2016 +0900| [d03853fb638f93fac56b3a76deabbeed8d6f72bf] | committer: Yikai Lu
Don't zoomIn onLengthChanged
> https://code.videolan.org/videolan/vlmc/commit/d03853fb638f93fac56b3a76deabbeed8d6f72bf
---
src/Gui/timeline/main.qml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/Gui/timeline/main.qml b/src/Gui/timeline/main.qml
index 45ea33e..dff2b41 100644
--- a/src/Gui/timeline/main.qml
+++ b/src/Gui/timeline/main.qml
@@ -531,10 +531,7 @@ Rectangle {
}
onLengthChanged: {
- if ( page.length < length ) {
- page.length = length;
- zoomIn( sView.width / ( ftop( length ) + initPosOfCursor + 100 ) );
- }
+ page.length = length;
}
onClipAdded: {
More information about the Vlmc-devel
mailing list