ui: fix mobile player not scaling automatically
This commit is contained in:
parent
30c9f6184e
commit
e51455b8ea
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ function Player(props: IProps) {
|
|||
|
||||
React.useEffect(() => {
|
||||
playerContext.player.scale();
|
||||
}, [props.bottomBlock, props.fullscreen, playerContext.player, activeTab, fullView]);
|
||||
}, [bottomBlock, props.fullscreen, playerContext.player, activeTab, fullView]);
|
||||
|
||||
React.useEffect(() => {
|
||||
playerContext.player.addFullscreenBoundary(props.fullscreen || fullView);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue