Fix fad in control sometimes not visible

parent 75c6f2b9
Pipeline #9031 passed with stage
in 18 minutes and 45 seconds
...@@ -614,7 +614,6 @@ Rectangle { ...@@ -614,7 +614,6 @@ Rectangle {
} }
Rectangle { Rectangle {
id: fadeInControl id: fadeInControl
anchors.left: fadeInTriangle.width > radius? undefined : fadeInTriangle.left
anchors.horizontalCenter: fadeInTriangle.width > radius? fadeInTriangle.right : undefined anchors.horizontalCenter: fadeInTriangle.width > radius? fadeInTriangle.right : undefined
anchors.top: fadeInTriangle.top anchors.top: fadeInTriangle.top
anchors.topMargin: -10 anchors.topMargin: -10
...@@ -713,7 +712,6 @@ Rectangle { ...@@ -713,7 +712,6 @@ Rectangle {
} }
Rectangle { Rectangle {
id: fadeOutControl id: fadeOutControl
anchors.right: fadeOutCanvas.width > radius? undefined : fadeOutCanvas.right
anchors.horizontalCenter: fadeOutCanvas.width > radius? fadeOutCanvas.left : undefined anchors.horizontalCenter: fadeOutCanvas.width > radius? fadeOutCanvas.left : undefined
anchors.top: fadeOutCanvas.top anchors.top: fadeOutCanvas.top
anchors.topMargin: -10 anchors.topMargin: -10
......
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