This dimension is in px but is unitless according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe (#214)
This commit is contained in:
@@ -226,8 +226,8 @@ export class Replayer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private handleResize(dimension: viewportResizeDimention) {
|
private handleResize(dimension: viewportResizeDimention) {
|
||||||
this.iframe.width = `${dimension.width}px`;
|
this.iframe.setAttribute('width', dimension.width);
|
||||||
this.iframe.height = `${dimension.height}px`;
|
this.iframe.setAttribute('height', dimension.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: add speed to mouse move timestamp calculation
|
// TODO: add speed to mouse move timestamp calculation
|
||||||
|
|||||||
Reference in New Issue
Block a user