mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 14:45:52 -05:00
Fixed multi-desktop switching problem
This commit is contained in:
parent
052336d905
commit
9f5bce83fe
@ -3356,7 +3356,7 @@
|
||||
p1updateInfo();
|
||||
|
||||
// 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
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user