From fa987c5f4a2420c6daf0c8c00514a9564991a57e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 14 Apr 2024 15:44:02 +0200 Subject: jst: restore scroll properly --- web/script/player/player.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'web/script/player') diff --git a/web/script/player/player.ts b/web/script/player/player.ts index 640a6d6..53b17cb 100644 --- a/web/script/player/player.ts +++ b/web/script/player/player.ts @@ -166,12 +166,8 @@ export class Player { this.active_tracks.change() } - play() { - this.video.play() - } - pause() { - this.video.pause() - } + play() { this.video.play() } + pause() { this.video.pause() } frame_forward() { //@ts-ignore trust me bro this.video["seekToNextFrame"]() -- cgit v1.2.3-70-g09d2