Fix context menu with defaults
This commit is contained in:
parent
f22f5b1a6c
commit
bfc8afd679
|
|
@ -7,7 +7,7 @@ import {
|
|||
TLShape,
|
||||
} from "tldraw"
|
||||
import { TldrawUiMenuGroup } from "tldraw"
|
||||
import { DefaultContextMenu } from "tldraw"
|
||||
import { DefaultContextMenu, DefaultContextMenuContent } from "tldraw"
|
||||
import { TLUiContextMenuProps, useEditor } from "tldraw"
|
||||
import {
|
||||
cameraHistory,
|
||||
|
|
@ -67,6 +67,7 @@ export function CustomContextMenu(props: TLUiContextMenuProps) {
|
|||
|
||||
return (
|
||||
<DefaultContextMenu {...props}>
|
||||
<DefaultContextMenuContent />
|
||||
{/* Camera Controls Group */}
|
||||
<TldrawUiMenuGroup id="camera-controls">
|
||||
<TldrawUiMenuItem
|
||||
|
|
|
|||
Loading…
Reference in New Issue