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 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()}>
|
||||||
|
|
Loading…
Reference in a new issue