I want to continue drawing a line between stage updates.
Unfortunately, invoking a second lineTo after a stage update seems to reset the StrokeStyle for all line segments.
Here's an example.
Removing the first stage.update() results in two thick line segments as expected.
Removing the second lineTo results in one thick line as expected.
Running the code as is results in two thin segments.
Is this by design? If so, is there a way to continue a line while preserving style between stage updates (other than recalling setStrokeStyle, beginStroke and moveTo)?
<canvas id="canvas" width="300" height="300"></canvas>
var stage = new createjs.Stage('canvas');
var shape = new createjs.Shape();
The text was updated successfully, but these errors were encountered: