Skip to content

Conversation

@Toad06
Copy link
Member

@Toad06 Toad06 commented Jan 24, 2023

...when the event is not an event type used by Buttons.

Fixes #8357 (here's an edited version with traces that are now displayed in the correct order) while making sure it doesn't break the Fight mini-game in Zizzo Challenge. I haven't checked if this is also the correct behavior in AVM2 though.

...when this is not an event type used by Buttons. Fixes ruffle-rs#8357.
@Dinnerbone
Copy link
Contributor

Let's please add tests for this

@Lord-McSweeney
Copy link
Collaborator

Is the issue with #7783 similar?

if let Some(container) = self.as_displayobject().as_container() {
for child in container.iter_render_list() {
let children = if event.is_button_event() {
container.iter_render_list().collect::<Vec<_>>()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, didn't look into correctness of this, but we definitely don't wanna allocate Vecs for this dynamically.

@danielhjacobs danielhjacobs added A-core Area: Core player, where no other category fits T-fix Type: Bug fix (in something that's supposed to work already) labels Sep 17, 2024
@danielhjacobs danielhjacobs added the waiting-on-author Waiting on the PR author to make the requested changes label May 21, 2025
@danielhjacobs
Copy link
Contributor

Superseded by #22670

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-core Area: Core player, where no other category fits T-fix Type: Bug fix (in something that's supposed to work already) waiting-on-author Waiting on the PR author to make the requested changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gowling - You cannot hit the crabs

5 participants