From 0e1c97f3c628ca56b896b741716f293da673c25f Mon Sep 17 00:00:00 2001 From: James Harkins Date: Mon, 13 Feb 2012 08:42:03 +0800 Subject: [PATCH] Hiding/swapping example broken: used a redundant 'add' call, now removed --- HelpSource/Classes/CompositeView.schelp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HelpSource/Classes/CompositeView.schelp b/HelpSource/Classes/CompositeView.schelp index 11752e1a7..36c9086d6 100644 --- a/HelpSource/Classes/CompositeView.schelp +++ b/HelpSource/Classes/CompositeView.schelp @@ -140,9 +140,9 @@ c = Array.fill(q, { arg i; b; }); -5.do{ arg i; c[0].add(Slider(c[0], Rect(10, i * 30 + 10, 150, 25)).value_(1.0.rand)) }; -5.do{ arg i; c[1].add(Slider(c[1], Rect(i * 30 + 10, 10, 25, 150)).value_(1.0.rand)) }; -c[2].add(Slider2D(c[2], Rect(10, 10, 155, 150)).x_(1.0.rand).y_(1.0.rand)); +5.do{ arg i; Slider(c[0], Rect(10, i * 30 + 10, 150, 25)).value_(1.0.rand) }; +5.do{ arg i; Slider(c[1], Rect(i * 30 + 10, 10, 25, 150)).value_(1.0.rand) }; +Slider2D(c[2], Rect(10, 10, 155, 150)).x_(1.0.rand).y_(1.0.rand); p = c.at(0); // previous p.visible = true; // show first one -- 2.11.4.GIT