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

core: Update focus highlight reset logic for SWF9+ #16082

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Apr 22, 2024

Related to #5443.

SWF versions 9 onwards reset the highlight only on left mouse button down, whereas older versions also reset it on other mouse events.

This behavior is covered by tests.

@kjarosh kjarosh force-pushed the highlight-reset-swf9 branch 2 times, most recently from 582f251 to e1a1717 Compare April 22, 2024 19:46
kjarosh added 3 commits April 24, 2024 00:28
SWF versions 9 onwards reset the highlight only on
left mouse button down, whereas older versions also
reset it on other mouse events.
This test verifies the behavior of focus highlight when
mouse is moved and mouse buttons are clicked for SWF9.
This test verifies the behavior of focus highlight when
mouse is moved and mouse buttons are clicked for SWF8.
@torokati44 torokati44 force-pushed the highlight-reset-swf9 branch from e32bb74 to 7d7c558 Compare April 23, 2024 22:28
@Dinnerbone Dinnerbone merged commit 31d8d98 into ruffle-rs:master Apr 23, 2024
17 checks passed
@kjarosh kjarosh deleted the highlight-reset-swf9 branch April 23, 2024 22:51
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