Commit 3ac5cbd2 authored by luyikei's avatar luyikei

Clip.qml: Fix wrong calculation of width

parent 002274a1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment