diff --git a/tldraw/apps/tldraw-logseq/src/components/ToolButton/ToolButton.tsx b/tldraw/apps/tldraw-logseq/src/components/ToolButton/ToolButton.tsx index c0735d654d..965164fdf9 100644 --- a/tldraw/apps/tldraw-logseq/src/components/ToolButton/ToolButton.tsx +++ b/tldraw/apps/tldraw-logseq/src/components/ToolButton/ToolButton.tsx @@ -24,9 +24,9 @@ export const ToolButton = observer(({ id, icon, title, ...props }: ToolButtonPro // Tool must exist const Tool = [...app.Tools, TLSelectTool, TLMoveTool]?.find(T => T.id === id) - const shortcut = ((Tool as any)['shortcut'] as string[])?.[0] + const shortcut = ((Tool as any)['shortcut'] as string[])?.join(', ').toUpperCase() - const titleWithShortcut = shortcut ? `${title} (${shortcut})` : title + const titleWithShortcut = shortcut ? `${title} - ${shortcut}` : title return (