diff options
Diffstat (limited to 'examples/quick/shapes/content/tapableTriangle.qml')
-rw-r--r-- | examples/quick/shapes/content/tapableTriangle.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/shapes/content/tapableTriangle.qml b/examples/quick/shapes/content/tapableTriangle.qml index ba1fa1e460..274552f525 100644 --- a/examples/quick/shapes/content/tapableTriangle.qml +++ b/examples/quick/shapes/content/tapableTriangle.qml @@ -56,14 +56,15 @@ Rectangle { width: 120 height: 120 color: th.pressed ? "steelBlue" : "lightGray" + containsMask: ctr + + TapHandler { id: th } Shape { id: ctr anchors.fill: parent containsMode: Shape.FillContains - TapHandler { id: th } - ShapePath { strokeColor: "red" fillColor: "blue" |