mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 15:45:53 -05:00
Fixed multi-desktop switching problem
This commit is contained in:
parent
100115fae3
commit
eee3ff8fbc
@ -3356,7 +3356,7 @@
|
|||||||
p1updateInfo();
|
p1updateInfo();
|
||||||
|
|
||||||
// Take care of KVM surfaces in desktop view mode
|
// Take care of KVM surfaces in desktop view mode
|
||||||
if (view == 3) {
|
if ((view == 3) && (xxcurrentView == 1)) {
|
||||||
// Figure out and adjust the size to fill the width of the div
|
// Figure out and adjust the size to fill the width of the div
|
||||||
var vsize = [{ x: 180, y: 101 }, { x: 302, y: 169 }, { x: 454, y: 255 }][Q('sizeselect').selectedIndex];
|
var vsize = [{ x: 180, y: 101 }, { x: 302, y: 169 }, { x: 454, y: 255 }][Q('sizeselect').selectedIndex];
|
||||||
//var realw = vsize.x + 2, tw = Q('xdevices').clientWidth - 30, xw = Math.floor(tw / realw);
|
//var realw = vsize.x + 2, tw = Q('xdevices').clientWidth - 30, xw = Math.floor(tw / realw);
|
||||||
|
Loading…
Reference in New Issue
Block a user