From e0f2520fb03ed07a38e96c012c0f599b2fbe7f04 Mon Sep 17 00:00:00 2001 From: RblSb Date: Sun, 26 Apr 2020 06:14:07 +0300 Subject: Fix autoscroll with unloaded images --- src/client/players/Raw.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/players') diff --git a/src/client/players/Raw.hx b/src/client/players/Raw.hx index 4fa000b..266f0a2 100644 --- a/src/client/players/Raw.hx +++ b/src/client/players/Raw.hx @@ -71,8 +71,8 @@ class Raw implements IPlayer { } function restartControlsHider():Void { - if (Utils.isTouch()) return; video.controls = true; + if (Utils.isTouch()) return; if (controlsHider != null) controlsHider.stop(); controlsHider = Timer.delay(() -> { video.controls = false; -- cgit v1.2.3