summaryrefslogtreecommitdiff
path: root/web/share/js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-10-06 05:06:17 +0300
committerMaxim Devaev <[email protected]>2022-10-06 05:06:17 +0300
commitb2361f1fbe7666dd0e41d58a9f920185e386f12a (patch)
tree66822228c9deb63d4b06e2be590f1049e60e65d2 /web/share/js
parentb3c7340504cacba50bba2cb4ba4817d3085edaf7 (diff)
fixed ios mouse buttons
Diffstat (limited to 'web/share/js')
-rw-r--r--web/share/js/wm.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/share/js/wm.js b/web/share/js/wm.js
index 791ab36b..fd26c730 100644
--- a/web/share/js/wm.js
+++ b/web/share/js/wm.js
@@ -362,6 +362,12 @@ function __WindowManager() {
var __organizeWindowsOnBrowserResize = function() {
for (let el_window of $$("window")) {
if (el_window.style.visibility === "visible") {
+ if (tools.browser.is_ios && el_window.classList.contains("window-resizable")) {
+ // FIXME: При смене ориентации на мобильном браузере надо сбрасывать
+ // настройки окна стрима, поэтому тут стоит вот этот костыль
+ el_window.style.width = "";
+ el_window.style.height = "";
+ }
__organizeWindow(el_window);
}
}