[vlmc-devel] main.qml: Zoom in to where all clips are shown on ClipAdded
Yikai Lu
git at videolan.org
Tue Aug 16 04:17:25 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Aug 15 20:48:36 2016 -0500| [72aca0c059c9e69860ad5ea852cd28b5cd5a8684] | committer: Yikai Lu
main.qml: Zoom in to where all clips are shown on ClipAdded
> https://code.videolan.org/videolan/vlmc/commit/72aca0c059c9e69860ad5ea852cd28b5cd5a8684
---
src/Gui/timeline/main.qml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Gui/timeline/main.qml b/src/Gui/timeline/main.qml
index 5861685..0efd052 100644
--- a/src/Gui/timeline/main.qml
+++ b/src/Gui/timeline/main.qml
@@ -588,6 +588,8 @@ Rectangle {
clipInfo["selected"] = false;
addClip( type, clipInfo["trackId"], clipInfo );
adjustTracks( type );
+
+ zoomIn( page.width / sView.flickableItem.contentWidth );
}
onClipMoved: {
More information about the Vlmc-devel
mailing list