change(ui): fix player resize
This commit is contained in:
parent
30404db90b
commit
b18a96c163
2 changed files with 1 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ function Player(props: IProps) {
|
|||
|
||||
React.useEffect(() => {
|
||||
playerContext.player.scale();
|
||||
}, [props.bottomBlock, props.fullscreen, playerContext.player]);
|
||||
}, [props.bottomBlock, props.fullscreen, playerContext.player, activeTab, fullView]);
|
||||
|
||||
if (!playerContext.player) return null;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ function WebPlayer(props: any) {
|
|||
closeBottomBlock,
|
||||
fullscreen,
|
||||
fetchList,
|
||||
insights,
|
||||
jumpTimestamp,
|
||||
} = props;
|
||||
const { notesStore } = useStore();
|
||||
const [activeTab, setActiveTab] = useState('');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue