[vlmc-devel] Ruler.qml: Show timecode per 15 divisions

Yikai Lu git at videolan.org
Thu Jul 28 14:39:18 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed Jul 27 21:48:57 2016 +0900| [5318a99f6cbaac9adff89250e9581fc0ad395e21] | committer: Yikai Lu

Ruler.qml: Show timecode per 15 divisions

> https://code.videolan.org/videolan/vlmc/commit/5318a99f6cbaac9adff89250e9581fc0ad395e21
---

 src/Gui/timeline/Ruler.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/timeline/Ruler.qml b/src/Gui/timeline/Ruler.qml
index 9668206..63104e6 100644
--- a/src/Gui/timeline/Ruler.qml
+++ b/src/Gui/timeline/Ruler.qml
@@ -61,7 +61,7 @@ Rectangle {
                 }
 
                 Component.onCompleted: {
-                    if ( index % 10 == 0 ) {
+                    if ( index % 15 == 0 ) {
                         // Text
                         var obj = Qt.createQmlObject('import QtQuick 2.0; Text {'+
                                                'color: "white";' +



More information about the Vlmc-devel mailing list