Skip to content
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

avm2: Implement InteractiveObject.focusRect and add tests #16061

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Apr 21, 2024

Related to #5443.

This PR implements the InteractiveObject.focusRect property and adds tests for it: how it behaves and when the highlight is rendered depending on the value of focusRect and stageFocusRect.

@kjarosh kjarosh force-pushed the focusrect-avm2 branch 2 times, most recently from 617d247 to ad18585 Compare April 29, 2024 19:55
@kjarosh kjarosh marked this pull request as ready for review April 29, 2024 19:55
This test verifies the behavior of InteractiveObject.focusRect
property in AVM2.
This test verifies when the highlight is rendered depending on
the value of `focusRect` and `stageFocusRect` in AVM2.
@Dinnerbone Dinnerbone merged commit 71bcaae into ruffle-rs:master Apr 29, 2024
17 checks passed
@kjarosh kjarosh deleted the focusrect-avm2 branch April 29, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants