jonobr1 / two.js

A renderer agnostic two-dimensional drawing api for the web.
https://two.js.org
MIT License
8.29k stars 454 forks source link

Added remove implementation of Two.Group signature #651

Closed alper-batioglu closed 2 years ago

alper-batioglu commented 2 years ago

If I am not mistaken this should be the signature of remove. It can remove itself from the parent. It can remove children passed as an array, and also it can extract those children from arguments. This implementation overrides Shape.remove, I Think it should override signatures as well.

jonobr1 commented 2 years ago

Awesome, thank you!