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

Yikai Lu git at videolan.org
Tue Jul 26 16:12:38 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Jul 26 21:41:57 2016 +0900| [80d10c8adf5d42775169ef879fa59bfb06fba7a0] | committer: Yikai Lu

Clip: Fix wrong calculation of width

> https://code.videolan.org/videolan/vlmc/commit/80d10c8adf5d42775169ef879fa59bfb06fba7a0
---

 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 c825211..fecb2cb 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 + 1 )
+    width: ftop( end - begin )
     gradient: Gradient {
         GradientStop {
             id: gStop1



More information about the Vlmc-devel mailing list