improved layout and fixed bugs introduced new ones
This commit is contained in:
@@ -105,7 +105,7 @@ export class ResizeHandle extends BaseElement {
|
||||
overlay.addEventListener("touchmove", (evt: TouchEvent) => {
|
||||
this.getIframe().style.pointerEvents = "none";
|
||||
this.classList.add("active");
|
||||
this.setSize(targetStartSize.width + (start.x - evt.touches[0].pageX), targetStartSize.height + (start.y - evt.touches[0].pageY));
|
||||
this.setSize(targetStartSize.width + (evt.touches[0].pageX - start.x), targetStartSize.height + (evt.touches[0].pageY - start.y));
|
||||
});
|
||||
|
||||
overlay.addEventListener("touchend", (evt: TouchEvent) => {
|
||||
|
||||
Reference in New Issue
Block a user