From e2d96004587f50bdf318324cc290273478e22d9c Mon Sep 17 00:00:00 2001 From: CrossPr0duct Date: Sat, 1 Mar 2025 21:06:21 -0500 Subject: [PATCH] Ensure the drag layer sits on top. --- .../src/KonvaApp/RenderingPrimitives/RealTimeDrawEngine.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/realtime/src/KonvaApp/RenderingPrimitives/RealTimeDrawEngine.ts b/frontend/realtime/src/KonvaApp/RenderingPrimitives/RealTimeDrawEngine.ts index ae02b7e3f9..8c27da355f 100644 --- a/frontend/realtime/src/KonvaApp/RenderingPrimitives/RealTimeDrawEngine.ts +++ b/frontend/realtime/src/KonvaApp/RenderingPrimitives/RealTimeDrawEngine.ts @@ -475,6 +475,7 @@ export class RealTimeDrawEngine { this.onPreviewCopyCallback(previewCopy); } previewCopy.startDrag(); + previewCopy.moveToTop(); previewCopy.on("dragend", (e: Konva.KonvaEventObject) => { const previewBox = previewCopy.getClientRect(); const captureBox = this.captureCanvas.getClientRect();