Restore context menu

This commit is contained in:
Steve Ruiz 2021-10-14 14:28:37 +01:00
parent d95a2e83a0
commit 0183a4d5a2

View file

@ -215,7 +215,7 @@ function InnerTldraw({
<div ref={rWrapper} tabIndex={0}>
<div className={layout()}>
<OneOff focusableRef={rWrapper} autofocus={autofocus} />
{/* <ContextMenu> */}
<ContextMenu>
<Renderer
id={id}
containerRef={rWrapper}
@ -278,7 +278,7 @@ function InnerTldraw({
onKeyDown={tlstate.onKeyDown}
onKeyUp={tlstate.onKeyUp}
/>
{/* </ContextMenu> */}
</ContextMenu>
<div className={ui()}>
{isFocusMode ? (
<div className={unfocusButton()}>