Update src/controllers/playback/video/index.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
c33dc8cd7a
commit
f78f2c7094
1 changed files with 1 additions and 5 deletions
|
@ -878,11 +878,7 @@ import { setBackdropTransparency, TRANSPARENCY_LEVEL } from '../../../components
|
|||
}
|
||||
|
||||
function nowPlayingDurationTextClick() {
|
||||
if (userSettings.enableVideoRemainingTime()) {
|
||||
userSettings.enableVideoRemainingTime(false);
|
||||
} else {
|
||||
userSettings.enableVideoRemainingTime(true);
|
||||
}
|
||||
userSettings.enableVideoRemainingTime(!userSettings.enableVideoRemainingTime());
|
||||
// immediately update the text, without waiting for the next tick update or if the player is paused
|
||||
const state = playbackManager.getPlayerState(currentPlayer);
|
||||
const playState = state.PlayState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue