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: Do not highlight Stage on focus #16214

Merged
merged 3 commits into from
May 5, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented May 4, 2024

Related to #5443. Fixes #16204.

Stage is never highlightable, even if there's a focus on it.

This PR also ensures that focus handlers are called for stage.

kjarosh added 3 commits May 4, 2024 18:59
Stage is never highlightable, even if there's a focus on it.
Before this patch, focus handlers were called from on_focus_changed,
only for selected objects. It seems that they should be called for
every object by default.
This test verifies the behavior of focus and focus highlight
for the stage object.
@Lord-McSweeney Lord-McSweeney merged commit 8a9d4f5 into ruffle-rs:master May 5, 2024
17 checks passed
@kjarosh kjarosh deleted the focus-highlight-stage branch May 5, 2024 00:23
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.

The Ritual: Yellow border bug
3 participants