fix(player): fix clickmap session size?

This commit is contained in:
nick-delirium 2023-03-08 12:49:32 +01:00
parent 6623e902e9
commit 7a1979dfd2
2 changed files with 1 additions and 2 deletions

View file

@ -16,7 +16,6 @@ function Player() {
}
}, []);
if (!playerContext.player) return null;
return (

View file

@ -218,7 +218,7 @@ export default class Screen {
case ScaleMode.AdjustParentHeight:
this.scaleRatio = offsetWidth / width
translate = "translate(-50%, 0)"
posStyles = { top: 0, height: this.document!.documentElement.getBoundingClientRect().height + 'px', }
posStyles = { top: 0, height: height + 'px', }
break;
}