-
Notifications
You must be signed in to change notification settings - Fork 5
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
Autoselect target follows linked elements recursively (is that good?) #300
Comments
…mode, #300 Signed-off-by: Michael Kauzmann <[email protected]>
I agree. How does this sound? |
I am considering this a bug fix for the original implementation of sim-side autoselect over in https://github.com/phetsims/studio/issues/304 |
I reviewed the commit and confirmed it works well in center and variability. Some questions:
|
phetsims/tandem#300 Signed-off-by: Michael Kauzmann <[email protected]>
phetsims/tandem#300 Signed-off-by: Michael Kauzmann <[email protected]>
Nice catch. To understand better, I was able to create a failing unit test that showed how we could still recurse into a Text.stringProperty if in linking selection mode. Anything else here? I can't think of a better name than |
Excellent, thanks! Looks good, closing. |
While working on phetsims/center-and-variability@f2941dc in phetsims/center-and-variability#204 I saw there were 2 levels of linked elements. The cardNode => cardModel => soccerBallModel. The value is changed on the soccer ball model. I incorrectly thought autoselecting linked element on the cardNode would autoselect to the cardModel, but it ended up all the way at soccerBallModel. @zepumph is this all good?
UPDATE: In this case it's probably OK since all of the important data is over in soccerBallModel. But some other sim may have important data in the cardModel layer itself.
The text was updated successfully, but these errors were encountered: