aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2016-12-21 13:15:38 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2016-12-23 20:00:28 +0000
commit79831caa0533ad5f48322568557622596b85ed0f (patch)
treee5d0c4215fcd5df67d05b6a017a2cb7221f11754 /examples
parentbf7c6226264bd45095711b2c0556c42b6f267f72 (diff)
Treat 0 as a valid strokeWidth value
Use negative values as the trigger to disable stroking altogether. This matches both QPainter and NVPR better. Change-Id: I51395ae310fce8a8da0c06174eafa1dc17aae1db Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/pathitem/content/item3.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/pathitem/content/item3.qml b/examples/quick/pathitem/content/item3.qml
index 9ea3de30b6..a3e9a1e046 100644
--- a/examples/quick/pathitem/content/item3.qml
+++ b/examples/quick/pathitem/content/item3.qml
@@ -58,7 +58,7 @@ Rectangle {
height: 200
anchors.centerIn: parent
- strokeWidth: 0 // or strokeColor: "transparent"
+ strokeWidth: -1 // or strokeColor: "transparent"
SequentialAnimation on fillColor {
loops: Animation.Infinite