fix(ui): fix actions toggle shortcut (#1974)

This commit is contained in:
Delirium 2024-03-18 17:38:27 +01:00 committed by GitHub
parent d2177a5267
commit c8525a6fec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,7 +150,7 @@ function Player(props: IProps) {
)}
{!fullView ? (
<Controls
setActiveTab={props.setActiveTab}
setActiveTab={(tab: string) => activeTab === tab ? props.setActiveTab('') : props.setActiveTab(tab)}
speedDown={playerContext.player.speedDown}
speedUp={playerContext.player.speedUp}
jump={playerContext.player.jump}