Don't allow fade handle outside clip

parent d0ad55ee
......@@ -543,6 +543,8 @@ Rectangle {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
drag.target: parent
drag.minimumX: -parent.width
drag.maximumX: container.width
drag.axis: Drag.XAxis
property int startX
property int startFadeIn
......@@ -638,6 +640,8 @@ Rectangle {
cursorShape: Qt.PointingHandCursor
drag.target: parent
drag.axis: Drag.XAxis
drag.minimumX: -parent.width
drag.maximumX: container.width
property int startX
property int startFadeOut
onEntered: parent.opacity = 0.7
......
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