phetsims / scenery

Scenery is an HTML5 scene graph.
MIT License
53 stars 12 forks source link

Remove redundant uses of `interruptSubtreeInput`. #1646

Closed pixelzoom closed 1 month ago

pixelzoom commented 1 month ago

In https://github.com/phetsims/scenery/issues/1645, Node was changed so that it automatically call interruptSubtreeInput when it becomes invisible.

In the sims that I'm responsible for, interruptSubtreeInput is now redundant in these cases, and can be removed (and tested):

pixelzoom commented 1 month ago

I've removed all redundant uses except those in GP. That sim is currently in 1.1 RC testing, and I don't want to complicate cherry-picks by making unnecessary changes to main. I'll circle back to GP after it has been published.