-
Hello everyone good morning Thanks for the precious help |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
To understand the behavior you're observing, see bullet point 4 of the sample's "Overview" section, and line 335+ of ExplodeTile.ts.
You will need to modify your own code to apply your color overrides to the temporary graphics produced by ExplodeTile. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone good morning I'm struggling with the extended of the elements, I had difficulty in maintaining the color of the elements once expanded, but thanks to you I was able to understand how to solve the problem, now I have another unexpected problem. the logic of the expansion from what i understand is to hide the element to expand and create a new one to edit, but how do i go back to the original element thanks for the precious help |
Beta Was this translation helpful? Give feedback.
-
Hello everyone I think I understand that in explodeTile.ts the "compareTileTreeIds" method compares the tile old and the tile new it seems like a random thing but I don't think it's like that, but it remains complex for me to understand how it works. Thanks for the precious help |
Beta Was this translation helpful? Give feedback.
From the previously provided snippet:
If you want the original element to draw, you must remove it from the "never drawn" set.