Hello Everyone,
I took the TLDraw v1 git, mirrored the TriangleUtil and TriangleTool subdirectories to RightTriangleUtil and TightTriangleTool. Made the new shape do a right triangle. Then followed up the tree to connect them in. That worked so I took the new dist pieces and applied them to my BigBlueButton git and again followed up the tree to attempt to copy triangle code to righttriangle.
In the end, I have a working right triangle in the whiteboard that appears to function as expected.
But it fails when I try to watch it in a recorded presentation.
This reminds me of the problem I had last time in that I was not connecting the new shape to the logic to display it. I have added my same code to record-and-playback/presentation/scripts/publish/presentation.rb, but alas, no go. A sample where I create a triangle, then a right triangle that kicks out the presentation looks like:
{"type":"tldr/clipboard","shapes":[],"assets":[],"bindings":[]}

{"name":"New Document","fileHandle":null,"document":{"id":"doc","name":"New Document","version":15.5,"pages":{"page":{"id":"page","name":"Page 1","childIndex":1,"shapes":{"slide-background-shape":{"assetId":"slide-background-asset-1","childIndex":-1,"id":"slide-background-shape","name":"Image","type":"image","parentId":"page","point":[0,0],"isLocked":true,"size":[1440,810],"style":{"dash":"draw","size":"medium","color":"blue"}},"7eb91415-868d-4dd6-2965-a46c647273e4":{"size":[313.92,230.45],"style":{"isFilled":false,"size":"small","scale":1,"color":"black","textAlign":"start","font":"script","dash":"draw"},"label":"","rotation":0,"id":"7eb91415-868d-4dd6-2965-a46c647273e4","labelPoint":[0.5,0.5],"parentId":"page","childIndex":0,"name":"Triangle","point":[283.29,287.4],"userId":"w_iff8vc6ujasv","type":"triangle"},"a792303f-853c-4b6f-3c76-01360e57e9b4":{"size":[357.06,223.69],"style":{"isFilled":false,"size":"small","scale":1,"color":"black","textAlign":"start","font":"script","dash":"draw"},"label":"","rotation":0,"id":"a792303f-853c-4b6f-3c76-01360e57e9b4","labelPoint":[0.5,0.5],"parentId":"page","childIndex":1,"name":"RightTriangle","point":[674.31,302.96],"userId":"w_iff8vc6ujasv","type":"righttriangle"}},"bindings":{}}},"pageStates":{"page":{"id":"page","selectedIds":[],"camera":{"point":[0,0],"zoom":0.5160493827160494}}},"assets":{"slide-background-asset-1":{"id":"slide-background-asset-1","size":[1440,810],"src":"/presentation/25508a873a7e9b91c9364dbe8297f2ba70b2ce3f-1694738902242/presentation/f7a450d2b0b7ea7de84c96a9ffb63983e1dcdce2-1694738902311/svgs/slide2.svg","type":"image"}}},"assets":{}}
I've been searching the code for what I missed and am drawing a blank.
Would anyone be able to offer a way to narrow down where to look or maybe what I really should be searching for?
Thanks,
JES