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();
child.x = stage.stageWidth * 0.5;
child.y = stage.stageHeight * 0.5;, 1);, -50, 100, 100, 10, 10);;

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)