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

fix(flame): The component.removeFromParent method should use parent.remove internally #2779

Merged

Conversation

wolfenrain
Copy link
Contributor

@wolfenrain wolfenrain commented Sep 28, 2023

Description

The removeFromParent wasn't going through the public methods on the parent, so overwriting the remove would not allow you to detect all removing of children.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

@wolfenrain wolfenrain changed the title fix(flame): component.removeFromParent should use parent.remove i… fix(flame): The component.removeFromParent method should use parent.remove internally Sep 28, 2023
@spydon spydon merged commit bdb1c79 into main Sep 29, 2023
9 checks passed
@spydon spydon deleted the fix/component-remove-from-parent-should-use-parent-remove branch September 29, 2023 09:54
denisgl7 pushed a commit to denisgl7/flame that referenced this pull request Sep 29, 2023
…t.remove` internally (flame-engine#2779)

The removeFromParent wasn't going through the public methods on the parent, so overwriting the remove would not allow you to detect all removing of children.
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.

None yet

2 participants