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