pixelkind / p5canvas

An interactive preview for writing p5js code in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=garrit.p5canvas
Other
39 stars 4 forks source link

Preview not updating #1

Closed ArunNairID closed 6 years ago

ArunNairID commented 6 years ago

The preview is not updating on change of methods or functions. The canvas has to be closed and then reopened .

Sample Code:

Example: function setup() { createCanvas(640, 480); }

function draw() { if (mouseIsPressed) { fill(0); } else { fill(255); } ellipse(mouseX, mouseY, 80, 80); ///changing this to new shape rect doesnt update the preview.

}

pixelkind commented 6 years ago

Thank you, I will have a look :)

pixelkind commented 6 years ago

The bug is fixed in version 1.0.2 and thanks again for your help 👍