Update Clip.qml for qml2 scrollview

parent 831b4d31
Pipeline #14129 passed with stage
in 24 minutes and 11 seconds
...@@ -83,7 +83,7 @@ Rectangle { ...@@ -83,7 +83,7 @@ Rectangle {
signal trimmedOut(var clip, bool shiftTrim, bool controlTrim) signal trimmedOut(var clip, bool shiftTrim, bool controlTrim)
onScrollStartChanged: { onScrollStartChanged: {
clipRoot.hideClipViews = scrollStart > (clipDuration * timeline.scaleFactor) || scrollStart + scrollView.viewport.width < 0 clipRoot.hideClipViews = scrollStart > (clipDuration * timeline.scaleFactor) || scrollStart + scrollView.contentItem.width < 0
} }
onIsGrabbedChanged: { onIsGrabbedChanged: {
......
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