[vlmc-devel] Clip.qml: Fix wrong calculation of width

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


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Thu Jul 28 21:01:04 2016 +0900| [3ac5cbd2a3a9e4f17632aeb55be9ff0ec4fcd3da] | committer: Yikai Lu

Clip.qml: Fix wrong calculation of width

> https://code.videolan.org/videolan/vlmc/commit/3ac5cbd2a3a9e4f17632aeb55be9ff0ec4fcd3da
---

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

diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index 3422234..b79014a 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -4,7 +4,7 @@ Rectangle {
     id: clip
     // NEVER SET X DIRECTLY. BINDING WILL BE REMOVED.
     x: ftop( position )
-    width: ftop( end - begin )
+    width: ftop( end - begin + 1 )
     gradient: Gradient {
         GradientStop {
             id: gStop1



More information about the Vlmc-devel mailing list