-
Notifications
You must be signed in to change notification settings - Fork 12
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
Changing clip area does not work with renderer: canvas #830
Comments
On the other hand, over slack @pixelzoom said
|
Adding block-publication label so this is on the radar before someone goes into an RC. But if someone requires a changing clip area with canvas the issue should be obvious right away before an RC is created. |
This is also holding up the next rc release of RIAW, because of phetsims/resistance-in-a-wire#164. |
It looks like the listeners for clip area (and Canvas rendering) were not being added to all of the nodes that would potentially affect it. That should be fixed with the above commit. @jessegreenberg can you verify that this fixes the issue? (snapshot comparison doesn't show any major regressions). |
Thanks @jonathanolson! I just verified that this fixes this issue in resistance-in-a-wire, so this can be closed. |
This will need to be cherry picked into the RIAW RC branch, reopening and assigning to myself, see phetsims/resistance-in-a-wire#168 for more details. |
RIAW has been covered, see phetsims/resistance-in-a-wire#164 (comment). Closing |
From in phetsims/resistance-in-a-wire#164. In resistance-in-a-wire, I tried setting WireNode's
dotsNode
to userenderer: canvas
, but I discovered that this broke the clip area that is further down in the file.@jonathanolson is this indicative of something wrong with clip area, or is setting
renderer: canvas
the wrong thing to do here?The text was updated successfully, but these errors were encountered: