diff --git a/src/ui/CustomContextMenu.tsx b/src/ui/CustomContextMenu.tsx index 17fd400..f681b8c 100644 --- a/src/ui/CustomContextMenu.tsx +++ b/src/ui/CustomContextMenu.tsx @@ -122,6 +122,58 @@ export function CustomContextMenu(props: TLUiContextMenuProps) { return ( + {/* Creation Tools Group - Top priority */} + + + + + + {/* VideoGen - temporarily hidden until in better working state + + */} + {/* Drawfast - temporarily hidden until in better working state + + */} + + + + + {/* Holon - temporarily hidden until in better working state + + */} + {/* Terminal (Multmux) - temporarily hidden until in better working state + + */} + + + + + + + + + {/* Frames List - Second priority */} + + + {getAllFrames(editor).map((frame) => ( + { + const shape = editor.getShape(frame.id) + if (shape) { + editor.zoomToBounds(editor.getShapePageBounds(shape)!, { + animation: { duration: 400, easing: (t) => t * (2 - t) }, + }) + editor.select(frame.id) + } + }} + /> + ))} + + + {/* Essential non-edit commands from default context menu */} actions.redo.onSelect("context-menu")} /> - - {/* Frames List - Moved to top */} - - - {getAllFrames(editor).map((frame) => ( - { - const shape = editor.getShape(frame.id) - if (shape) { - editor.zoomToBounds(editor.getShapePageBounds(shape)!, { - animation: { duration: 400, easing: (t) => t * (2 - t) }, - }) - editor.select(frame.id) - } - }} - /> - ))} - - {/* Camera Controls Group */} @@ -226,66 +256,6 @@ export function CustomContextMenu(props: TLUiContextMenuProps) { - {/* Creation Tools Group - Always available regardless of selection */} - - - - - - {/* VideoGen - temporarily hidden until in better working state - - */} - {/* Drawfast - temporarily hidden until in better working state - - */} - - - - - {/* Holon - temporarily hidden until in better working state - - */} - {/* Terminal (Multmux) - temporarily hidden until in better working state - - */} - - - - - - - - - {/* Collections Group */} - - - - - - - - - - {/* TODO: FIX & IMPLEMENT BROADCASTING*/} {/*