From f6fbccb7a2b80e9a054f28c169b714a59d88d20d Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Mon, 20 Jun 2011 17:16:27 +0200 Subject: [PATCH] Examples: Convert Path#selected to Path#fullySelected where needed. --- examples/Animated/Smoothing.html | 2 +- examples/Scripts/Chain.html | 4 ++-- examples/Scripts/PathStructure.html | 2 +- examples/Scripts/StrokeBounds.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/Animated/Smoothing.html b/examples/Animated/Smoothing.html index 980f3742..a26d3da8 100644 --- a/examples/Animated/Smoothing.html +++ b/examples/Animated/Smoothing.html @@ -26,7 +26,7 @@ path.add(point); } path.add(view.bounds.bottomRight); - path.selected = true; + path.fullySelected = true; } function onFrame(event) { diff --git a/examples/Scripts/Chain.html b/examples/Scripts/Chain.html index 1ef00d1d..5fd68e88 100644 --- a/examples/Scripts/Chain.html +++ b/examples/Scripts/Chain.html @@ -34,12 +34,12 @@ } function onMouseDown(event) { - path.selected = true; + path.fullySelected = true; path.strokeColor = '#e08285'; } function onMouseUp(event) { - path.selected = false; + path.fullySelected = false; path.strokeColor = '#e4141b'; } diff --git a/examples/Scripts/PathStructure.html b/examples/Scripts/PathStructure.html index e1ad981c..287dade4 100644 --- a/examples/Scripts/PathStructure.html +++ b/examples/Scripts/PathStructure.html @@ -20,7 +20,7 @@ [[width / 2, y], vector.rotate(-180), vector], [[width - offset, y], vector.rotate(90), null] ]; - path.selected = true; + path.fullySelected = true; function onMouseMove(event) { var point = event.point.clone(); diff --git a/examples/Scripts/StrokeBounds.html b/examples/Scripts/StrokeBounds.html index 8b34a575..1f38dbcf 100644 --- a/examples/Scripts/StrokeBounds.html +++ b/examples/Scripts/StrokeBounds.html @@ -23,7 +23,7 @@ } var path = makePath(); - path.selected = true; + path.fullySelected = true; path.strokeColor = 'black'; path.strokeCap = 'butt'; path.strokeJoin = 'round';