You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A to-do for me. The composite shapes have some API weirdness:
Currently Box uses BoxRect class, which like a Rect only it isn't copied with copyGraph, because a Box will add its on BoxRect children when created.
Cone also has a Anchor which gets duplicated, it should be a ConeAnchor or something.
And I'm considering adding an Anchor inside Hemisphere for keeping track of its apex.
Rather than creating special classes like BoxRect, I think a cleaner solution would be to add a flag property like compositeChild. So that items with this flag will not get copied with copyGraph.
The text was updated successfully, but these errors were encountered:
A to-do for me. The composite shapes have some API weirdness:
Box
usesBoxRect
class, which like aRect
only it isn't copied withcopyGraph
, because aBox
will add its onBoxRect
children when created.Cone
also has aAnchor
which gets duplicated, it should be aConeAnchor
or something.Anchor
insideHemisphere
for keeping track of its apex.Rather than creating special classes like
BoxRect
, I think a cleaner solution would be to add a flag property likecompositeChild
. So that items with this flag will not get copied withcopyGraph
.The text was updated successfully, but these errors were encountered: