Skip to content

avm1: Don't ignore mouse_pick on static text (fix #9274) #9292

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

Merged

Conversation

danielhjacobs
Copy link
Contributor

No description provided.

@Lord-McSweeney
Copy link
Collaborator

There are other changes in #8744 in movie_clip.rs, should those also be changed to AVM2 only?

@danielhjacobs
Copy link
Contributor Author

Not sure, wasn't needed for this to work, so I wanted to keep the changes minimal.

@danielhjacobs
Copy link
Contributor Author

danielhjacobs commented Jan 24, 2023

Second commit added as according to CUB3D: "Everything in that pr was only intended to change avm2, so unless we have an outstanding avm1 issue that they fix I would gate them to avm2 only"

Second commit will be removed following Discord discussion.

@danielhjacobs danielhjacobs changed the title avm1: Don't ignore mouse_pick on static text (fix #9274) avm1: Gate certain changes to hitTest behavior to avm2 Jan 24, 2023
@Dinnerbone
Copy link
Contributor

Can we add mouse pick tests for avm1 and avm2?

@danielhjacobs
Copy link
Contributor Author

I have not really messed with adding tests before and I'm not going to be able to do much more work on this PR until Thursday. If someone wants to push to the branch to add tests before then I don't have an issue with that as I allow edits by maintainers.

@danielhjacobs danielhjacobs force-pushed the fix_avm1_hittest_regression branch 2 times, most recently from 8414440 to 40a8cc2 Compare January 26, 2023 20:47
@danielhjacobs danielhjacobs changed the title avm1: Gate certain changes to hitTest behavior to avm2 avm1: Don't ignore mouse_pick on static text (fix #9274) Jan 26, 2023
@Dinnerbone Dinnerbone force-pushed the fix_avm1_hittest_regression branch from 551feb3 to 524e447 Compare January 27, 2023 13:11
@danielhjacobs danielhjacobs force-pushed the fix_avm1_hittest_regression branch 2 times, most recently from aaf4853 to 4d716d9 Compare January 28, 2023 21:44
@Dinnerbone Dinnerbone force-pushed the fix_avm1_hittest_regression branch from 4d716d9 to 065f1fa Compare January 28, 2023 23:28
@Dinnerbone Dinnerbone enabled auto-merge (rebase) January 28, 2023 23:28
@Dinnerbone Dinnerbone merged commit d918d47 into ruffle-rs:master Jan 28, 2023
@danielhjacobs danielhjacobs deleted the fix_avm1_hittest_regression branch January 30, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants