You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anchor and Rotation_Origin require width and height to be explicitly set before they take effect.
Since the image defaults to using the texture size (or when zeroed), you would expect these to do the same.
Pretty sure you already know about this one, but I just came across it. Adding this ticket so it doesn't fall off the radar.
local flw = ::fe.layout.width;
local flh = ::fe.layout.height;
local art = ::fe.add_artwork("snap", flw * 0.5, flh * 0.5);
art.video_flags = Vid.ImagesOnly;
art.anchor = Anchor.Centre;
art.rotation_origin = Origin.Centre;
// The size must be set for the above origins to work// art.width = 200;// art.height = 200;
::fe.add_ticks_callback("on_tick");
function on_tick(ttime) {
art.rotation += 1;
}
The text was updated successfully, but these errors were encountered:
Anchor and Rotation_Origin require width and height to be explicitly set before they take effect.
Since the image defaults to using the texture size (or when zeroed), you would expect these to do the same.
Pretty sure you already know about this one, but I just came across it. Adding this ticket so it doesn't fall off the radar.
The text was updated successfully, but these errors were encountered: