[vlmc-devel] MainWindow: Set the zoom slider' s initial value at the middle of its maximun and minimum
Yikai Lu
git at videolan.org
Tue Jul 26 16:12:33 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Jul 26 21:05:25 2016 +0900| [b5bfe6212e9b0b6f84e1e321382911137209993f] | committer: Yikai Lu
MainWindow: Set the zoom slider's initial value at the middle of its maximun and minimum
> https://code.videolan.org/videolan/vlmc/commit/b5bfe6212e9b0b6f84e1e321382911137209993f
---
src/Gui/MainWindow.cpp | 2 +-
src/Gui/timeline/main.qml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index e9dfb3c..caa6283 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -400,7 +400,7 @@ MainWindow::createStatusBar()
m_zoomSlider->setPageStep( 1 );
m_zoomSlider->setMinimum( 0 );
m_zoomSlider->setMaximum( 9 );
- m_zoomSlider->setValue( 9 );
+ m_zoomSlider->setValue( 4 );
m_zoomSlider->setFixedWidth( 80 );
m_zoomSlider->setInvertedAppearance( true );
m_ui.statusbar->addPermanentWidget( m_zoomSlider );
diff --git a/src/Gui/timeline/main.qml b/src/Gui/timeline/main.qml
index d3e03a4..c0c5150 100644
--- a/src/Gui/timeline/main.qml
+++ b/src/Gui/timeline/main.qml
@@ -16,7 +16,7 @@ Rectangle {
property double unit: 3000 // In milliseconds therefore ppu / unit = Pixels Per milliseconds
property double fps: 29.97
property int maxZ: 100
- property int scale: 10
+ property int scale: 4
property var allClips: [] // Actual clip item objects
property var selectedClips: [] // Actual clip item objects
property var groups: [] // list of lists of clip uuids
More information about the Vlmc-devel
mailing list