aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Buttons.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-06-06 10:19:18 +0300
committerRblSb <msrblsb@gmail.com>2020-06-06 13:57:41 +0300
commit41e8165d3d701562af4eb78d86816fd1f88766af (patch)
tree4b0ceed7d2c3300048dbc9dcc587a55640fd0834 /src/client/Buttons.hx
parent8506b4edcb0a9bb1973bb38fcca4bcdc21e397c1 (diff)
Pause indicator
Diffstat (limited to 'src/client/Buttons.hx')
-rw-r--r--src/client/Buttons.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx
index 7e9c8cb..771f827 100644
--- a/src/client/Buttons.hx
+++ b/src/client/Buttons.hx
@@ -111,7 +111,7 @@ class Buttons {
}
final fullscreenBtn = ge("#fullscreenbtn");
fullscreenBtn.onclick = e -> {
- if (Utils.isTouch() && !Utils.hasFullscreen()) {
+ if ((Utils.isTouch() || main.isVerbose()) && !Utils.hasFullscreen()) {
Utils.requestFullscreen(document.documentElement);
} else {
Utils.requestFullscreen(ge("#ytapiplayer"));
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage