-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attract-mode: rotation #191
Comments
Following workaround will do what I expect: // possible bug -> preserve_aspect_ratio in combination with rotate. |
Thanks for the report, this should be fixed now |
possible bug -> preserve_aspect_ratio in combination with rotation.
The following code will give, on my win7 PC, not the expected result.
local snap = fe.add_artwork( "snap", x, y, width, height);
snap.preserve_aspect_ratio=true;
snap.rotation = 180;
Some images (in my case .png, didn't try other formats) will be rotated correct, other images will shift in horizontal- or vertical direction. Assuming the rotation point is top left of the original none rotated image.
The text was updated successfully, but these errors were encountered: