mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-30 01:21:54 +08:00
Minimal android compatibility
Note that Samsung devices can't handle (hover: none) media query
This commit is contained in:
@@ -129,7 +129,7 @@ export function Mouse(__getGeometry, __recordWsEvent) {
|
||||
var __updateOnlineLeds = function() {
|
||||
let is_captured;
|
||||
if (__absolute) {
|
||||
is_captured = (__stream_hovered || tools.browser.is_ios);
|
||||
is_captured = (__stream_hovered || tools.browser.is_mobile);
|
||||
} else {
|
||||
is_captured = __isRelativeCaptured();
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ export function Ocr(__getGeometry) {
|
||||
/************************************************************************/
|
||||
|
||||
self.setState = function(state) {
|
||||
let enabled = (state && state.ocr.enabled && navigator.clipboard && !tools.browser.is_ios);
|
||||
let enabled = (state && state.ocr.enabled && navigator.clipboard && !tools.browser.is_mobile);
|
||||
if (enabled) {
|
||||
let selected = tools.storage.get("stream.ocr.lang", state.ocr.langs["default"]);
|
||||
let html = "";
|
||||
|
||||
Reference in New Issue
Block a user