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;
|
if (!this.draggedClone) return;
|
||||||
|
|
||||||
// Update position
|
// Update position
|
||||||
this.draggedClone.style.top = payload.snappedY + 'px';
|
this.draggedClone.style.top = (payload.snappedY - payload.mouseOffset.y) + 'px';
|
||||||
|
|
||||||
// Update timestamp display
|
// Update timestamp display
|
||||||
this.updateCloneTimestamp(this.draggedClone, payload.snappedY);
|
this.updateCloneTimestamp(this.draggedClone, payload.snappedY);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue