Corrects dragged event clone position
This commit is contained in:
parent
7fc401b1df
commit
0d33b51ff8
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ export abstract class BaseEventRenderer implements EventRendererStrategy {
|
|||
if (!this.draggedClone) return;
|
||||
|
||||
// Update position
|
||||
this.draggedClone.style.top = payload.snappedY + 'px';
|
||||
this.draggedClone.style.top = (payload.snappedY - payload.mouseOffset.y) + 'px';
|
||||
|
||||
// Update timestamp display
|
||||
this.updateCloneTimestamp(this.draggedClone, payload.snappedY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue