mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added display selector on mobile web application.
This commit is contained in:
parent
d4e4aec9c3
commit
d722b6d7be
5 changed files with 153 additions and 125 deletions
|
@ -47,6 +47,9 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
|
|||
obj.width = 960;
|
||||
obj.height = 960;
|
||||
|
||||
obj.displays = null;
|
||||
obj.selectedDisplay = null;
|
||||
|
||||
obj.onScreenSizeChange = null;
|
||||
obj.onMessage = null;
|
||||
obj.onConnectCountChanged = null;
|
||||
|
@ -266,6 +269,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
|
|||
}
|
||||
}
|
||||
//console.log('Get Displays', displays, selectedDisplay, rstr2hex(str));
|
||||
obj.displays = displays; obj.selectedDisplay = selectedDisplay;
|
||||
if (obj.onDisplayinfo != null) { obj.onDisplayinfo(obj, displays, selectedDisplay); }
|
||||
break;
|
||||
case 12: // SetDisplay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue