fix: fix error after merge conflict resolving

pull/4314/head
Dmytro Lukashenko 2023-08-22 14:32:39 +03:00
parent 2485b810f9
commit bb213cb9df
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ export default {
if (topPos >= this.minY && topPos + height < viewport.height) { if (topPos >= this.minY && topPos + height < viewport.height) {
this.lastPageY = event.pageY; this.lastPageY = event.pageY;
this.container.style.top = topPos - marginTop + 'px'; this.container.style.top = topPos - marginTop + 'px';
}
} else { } else {
this.lastPageX = event.pageX; this.lastPageX = event.pageX;
this.container.style.left = leftPos - marginLeft + 'px'; this.container.style.left = leftPos - marginLeft + 'px';