openfl / openfl

The Open Flash Library for creative expression on the web, desktop, mobile and consoles.

Home Page:http://www.openfl.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rounded Rectangle swf asset renders incorrectly

masqueanthony opened this issue · comments

This rounded rectangle asset started rendering incorrectly at certain scale values with the commit mentioned below (between 9.2.0 and 9.2.1)

Steps to reproduce the behavior:

  1. Run sample program
  2. You will see issue as shown in screen shot

Run sample app with the display.rotation = 0.001; line uncommented to see how it looks (and our current workaround)

image

Issue started in this commit: bb8a97d
html5 target.

Additional context
Demo project
RRectDemo.zip

Can you add a screenshot that shows how it's supposed to look too? Thanks!

image
Modify sample code as follows to show correct rendering:
Assets.loadLibrary ("WCCmessageUI.swf").onComplete (function (_) {
var message = Assets.getMovieClip ("WCCmessageUI.swf:WCCsysMsg");
mc = getClip(message);
mc.rotation = 0.001;
addChild(mc);

Thanks!

This appears to be fixed in commit b630fb8. The fix will be included in the next update.