-
Notifications
You must be signed in to change notification settings - Fork 9
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
Light beam still visible when laser is hidden #310
Comments
In general, I'm not a fan of |
Good point @pixelzoom. If clients want to prevent students from turning on the laser, they should just hide its on/off button. Let's make |
Updated the overrides in the above commit. |
It occurred to me that we typically only instrument Back to @arouinfar for review. |
Thanks @pixelzoom. The tree looks good, closing. |
Discovered while reviewing the phetioFeatured overrides for #305. Semi-related to #296.
If you set
view.lightNode.visibleProperty
to false while the light is on, the laser is hidden but the beam is still visible. This looks buggy to me.Should we update
model.light.isOnProperty
to hide the beam in this situation? Clients would need to turn the light back on when they make the laser visible in the view again, but that seems reasonable.The text was updated successfully, but these errors were encountered: