mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 14:07:55 +01:00
Fixed constructor call to pass in the PApplet instance.
This commit is contained in:
parent
a4a4824bfe
commit
f87e64388d
@ -125,8 +125,8 @@ Alternatively, ControlP5 can be instantiated from other places as well for examp
|
|||||||
|
|
||||||
class GUI {
|
class GUI {
|
||||||
ControlP5 cp5;
|
ControlP5 cp5;
|
||||||
GUI(ControlP5 theControlP5) {
|
GUI(PApplet pApplet) {
|
||||||
cp5 = new ControlP5(theControlP5);
|
cp5 = new ControlP5(pApplet);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user