diff options
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/mouse.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/js/mouse.js b/web/js/mouse.js index 460e2945..dd2ff30d 100644 --- a/web/js/mouse.js +++ b/web/js/mouse.js @@ -41,6 +41,7 @@ function Mouse() { } else { $("stream-box").classList.remove("stream-box-mouse-enabled"); } + __updateLeds(); }; var __hoverStream = function() { @@ -54,7 +55,8 @@ function Mouse() { }; var __updateLeds = function() { - if (__ws && __stream_hovered) { + if (__ws && (__stream_hovered || tools.browser.is_ios)) { + // Mouse is always available on iOS via touchscreen $("hid-mouse-led").className = "led-green"; $("hid-mouse-led").title = "Mouse tracked"; } else { |