We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, Why does a button disappear if I set canvas as his parent ?
canvas = createCanvas(800, 600);
button = createButton("huhu");
button.parent(canvas);
Answers
If I paste it on https://OpenProcessing.org/sketch/create (after activating p5.dom of course) it runs alright: :-\"
https://Discourse.Processing.org/t/using-the-canvas-as-the-parent-of-an-element-makes-it-disappear/1937