fix: fix error after merge conflict resolving
parent
2485b810f9
commit
bb213cb9df
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue