Ensure the drag layer sits on top.

This commit is contained in:
CrossPr0duct committed 2025-03-01 21:06:21 -05:00
1 parent 31194c6622
commit e2d9600458
1 file changed
+1
@@ -475,6 +475,7 @@ export class RealTimeDrawEngine {
this.onPreviewCopyCallback(previewCopy);
}
previewCopy.startDrag();
previewCopy.moveToTop();
previewCopy.on("dragend", (e: Konva.KonvaEventObject<DragEvent>) => {
const previewBox = previewCopy.getClientRect();
const captureBox = this.captureCanvas.getClientRect();