Skip to content

Commit 0ebe9ce

Browse files
committed
drag handle works
1 parent e4a4339 commit 0ebe9ce

3 files changed

Lines changed: 678 additions & 1 deletion

File tree

apps/obsidian/src/components/canvas/TldrawViewComponent.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ import {
4646
} from "~/components/canvas/shapes/DiscourseRelationBinding";
4747
import ToastListener from "./ToastListener";
4848
import { RelationsOverlay } from "./overlays/RelationOverlay";
49+
import { DragHandleOverlay } from "./overlays/DragHandleOverlay";
50+
import { showToast } from "./utils/toastUtils";
4951
import { WHITE_LOGO_SVG } from "~/icons";
5052
import { CustomContextMenu } from "./CustomContextMenu";
5153
import {
@@ -474,7 +476,10 @@ export const TldrawPreviewComponent = ({
474476
);
475477
},
476478
InFrontOfTheCanvas: () => (
477-
<RelationsOverlay plugin={plugin} file={file} />
479+
<>
480+
<RelationsOverlay plugin={plugin} file={file} />
481+
<DragHandleOverlay plugin={plugin} file={file} />
482+
</>
478483
),
479484
}}
480485
/>

0 commit comments

Comments
 (0)