ui: fix mobile player not scaling automatically

This commit is contained in:
nick-delirium 2024-12-03 17:29:20 +01:00
parent 30c9f6184e
commit e51455b8ea
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -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);