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

avm1,avm2: Fix the focus-related behaviors of root movies #16601

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Jun 4, 2024

AVM1: the root movie should be neither focusable, nor tabbable.

AVM2: the root movie should not be highlightable.

As always, covered by tests.

Fixes #16285, fixes #16588. Related to #5443.

@kjarosh kjarosh marked this pull request as draft June 4, 2024 23:07
@kjarosh kjarosh force-pushed the focus-root-movie branch from abcede8 to adb66f1 Compare June 4, 2024 23:11
@kjarosh kjarosh marked this pull request as ready for review June 4, 2024 23:17
@kjarosh kjarosh added the waiting-on-review Waiting on review from a Ruffle team member label Jun 4, 2024
kjarosh added 6 commits June 5, 2024 01:57
Root movie clip should be neither focusable, nor tabbable.
This test verifies the behavior of focusing
and tabbing into the root movie.
This check is unnecessary as is_focusable is only used in AVM1.
This test verifies the behavior of focus and focusrect
on the root movie clip.
@Dinnerbone Dinnerbone enabled auto-merge (rebase) June 4, 2024 23:57
@Dinnerbone Dinnerbone merged commit 091aa23 into ruffle-rs:master Jun 5, 2024
17 checks passed
@kjarosh kjarosh deleted the focus-root-movie branch June 5, 2024 07:09
@sleepycatcoding sleepycatcoding removed the waiting-on-review Waiting on review from a Ruffle team member label Jun 5, 2024
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.

HitBox: Yellow outline around the stage House of Dead Ninjas: Yellow border issue
3 participants