From da53bfe5a019dec709ae69a14120833557b3ffcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rg=20Lehni?= Date: Sun, 4 Jan 2015 22:00:40 +0100 Subject: [PATCH] Simplify boolean operations example code a bit. --- examples/Animated/BooleanOperations.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Animated/BooleanOperations.html b/examples/Animated/BooleanOperations.html index cfb6cb6f..9c271a99 100644 --- a/examples/Animated/BooleanOperations.html +++ b/examples/Animated/BooleanOperations.html @@ -26,18 +26,18 @@ var inner = new Path.Circle({ center: view.center, radius: 100, - insert: false + parent: originals, + fillColor: 'white' }); var outer = new Path.Circle({ center: view.center, radius: 140, - insert: false + parent: originals, + fillColor: 'white' }); var ring = outer.subtract(inner); - ring.parent = originals; - ring.fillColor = 'white'; var operations = ['unite', 'intersect', 'subtract', 'exclude', 'divide']; var colors = ['red', 'green', 'blue', 'black'];