mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2025-01-03 05:17:56 +03:00
add ie11 resize fix
on ie11, the 'clip' setting will always be parsed to true (because of weird calls to some functions which try to get the clip setting at the wrong time, but only in ie11) so instead of initSetting, we forceSetting the clip to false if clip is true, it gets in the way of resizing Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
1ca3f40997
commit
5b53f03537
11
debian/patches/fix-ie11-resize.patch
vendored
Normal file
11
debian/patches/fix-ie11-resize.patch
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/pveui.js
|
||||||
|
+++ b/pveui.js
|
||||||
|
@@ -115,7 +115,7 @@
|
||||||
|
setTimeout(function() { window.scrollTo(0, 1); }, 100);
|
||||||
|
UI.forceSetting('clip', true);
|
||||||
|
} else {
|
||||||
|
- UI.initSetting('clip', false);
|
||||||
|
+ UI.forceSetting('clip', false);
|
||||||
|
}
|
||||||
|
|
||||||
|
UI.setViewClip();
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1,2 +1,3 @@
|
|||||||
pveui.patch
|
pveui.patch
|
||||||
fix-base-css.patch
|
fix-base-css.patch
|
||||||
|
fix-ie11-resize.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user