diff --git a/src/ui-overrides.tsx b/src/ui-overrides.tsx index cd918e6..6e6a6c1 100644 --- a/src/ui-overrides.tsx +++ b/src/ui-overrides.tsx @@ -365,47 +365,79 @@ export const components: TLComponents = { return ( - - zoomToSelection(editor)} - /> - copyLinkToCurrentView(editor)} - /> - revertCamera(editor)} - /> - {isFrame && ( - <> - copyFrameLink(editor, selectedShape.id)} - /> - zoomToSelection(editor)} - /> - - )} - + + {/* Camera Controls */} + zoomToSelection(editor)} + /> + copyLinkToCurrentView(editor)} + /> + revertCamera(editor)} + /> + + {/* Shape Creation Tools */} + { + editor.setCurrentTool('VideoChat'); + }} + /> + { + editor.setCurrentTool('ChatBox'); + }} + /> + { + editor.setCurrentTool('Embed'); + }} + /> + + Frame-specific actions + {isFrame && ( + <> + copyFrameLink(editor, selectedShape.id)} + /> + zoomToSelection(editor)} + /> + + )} + ) },