From f87e64388d8845923d8f9b58c567cacd2ea09279 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 17 Aug 2015 18:24:14 -0400 Subject: [PATCH] Fixed constructor call to pass in the PApplet instance. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4989c06..654ac88 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ Alternatively, ControlP5 can be instantiated from other places as well for examp class GUI { ControlP5 cp5; - GUI(ControlP5 theControlP5) { - cp5 = new ControlP5(theControlP5); + GUI(PApplet pApplet) { + cp5 = new ControlP5(pApplet); } } ```