html5 drawRoundRect negative position clipping

Hey dudes found an issue with drawRoundRect in html5. If you draw specifying negative x, y values the area in the negative space gets clipped:

Heres the code:

var child = new Sprite();
addChild(child);
child.x = stage.stageWidth * 0.5;
child.y = stage.stageHeight * 0.5;
child.graphics.beginFill(0xFFFFFF, 1);
child.graphics.drawRoundRect(-50, -50, 100, 100, 10, 10);
child.graphics.endFill();

Oh indeed.

Btw it’d be better/easier (for the team) if you could post bug reports on github :wink:

Should be fixed now, as well as some issues in how curves were handled (such as drawRect (-50, -50, 100, 100, 50, 2) and other less common values)