mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
Ensure the drag layer sits on top.
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user