Restore context menu
This commit is contained in:
parent
d95a2e83a0
commit
0183a4d5a2
1 changed files with 64 additions and 64 deletions
|
@ -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()}>
|
||||
|
|
Loading…
Reference in a new issue