-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add responsive layout properties and other fixes
This PR: - Fixes hit testing when providing a `layoutScaleFactor` - Exposes `artboardWidth`, `artboardHeight`, and `devicePixelRatio` on the `Rive` object. This is needed for more advanced user control, and is also needed in Rive-React to complete the layout implementation. - Adds a bunch of tests for the above, and expected responsive behaviour under various conditions. Diffs= 86b7531b20 feat: add responsive layout properties and other fixes (#8451) Co-authored-by: Gordon <[email protected]>
- Loading branch information
1 parent
0f38187
commit e9364ca
Showing
6 changed files
with
358 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5297cf0cc25ef5b45d438dddaefb2ac52cb8c4a1 | ||
86b7531b209507a61cc8aa5fac2ea9bf89668d2d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.