Skip to content

Commit

Permalink
Override layoutcomponent x/y using layoutX/Y
Browse files Browse the repository at this point in the history
Duo called out a bug where a translation constraint applied to a layout component behaved differently in editor vs runtime. The issue was due to the constraint using x/y properties, whereas layoutX/Y should be used for layout components. Added an override to fix this.

Checked other usages of x/y() in CPP and currently, the only place they are used that is applicable to layout components is in constraints and ListenerAlignTarget.

Diffs=
e8d6e5db26 Override layoutcomponent x/y using layoutX/Y (#8714)
  • Loading branch information
philter committed Dec 9, 2024
1 parent ab646fc commit 40723b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d3f6a49778aa6ce7408aecededeb1afc1bf33e6e
e8d6e5db26279ca460b46161df84c77f73903a95
2 changes: 1 addition & 1 deletion submodules/rive-runtime

0 comments on commit 40723b2

Please sign in to comment.