fix(player): fix clickmap session size?
This commit is contained in:
parent
6623e902e9
commit
7a1979dfd2
2 changed files with 1 additions and 2 deletions
|
|
@ -16,7 +16,6 @@ function Player() {
|
|||
}
|
||||
}, []);
|
||||
|
||||
|
||||
if (!playerContext.player) return null;
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue