mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
First integration of RDP into the desktop tab.
This commit is contained in:
parent
41b6b6a54a
commit
09881d06f5
6 changed files with 260 additions and 30 deletions
|
@ -560,7 +560,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
|
|||
|
||||
obj.onResize = function () {
|
||||
if (obj.ScreenWidth == 0 || obj.ScreenHeight == 0) return;
|
||||
if (obj.Canvas.canvas.width == obj.ScreenWidth && obj.Canvas.canvas.height == obj.ScreenHeight) return;
|
||||
if ((obj.Canvas.canvas.width == obj.ScreenWidth) && (obj.Canvas.canvas.height == obj.ScreenHeight)) return;
|
||||
if (obj.FirstDraw) {
|
||||
obj.Canvas.canvas.width = obj.ScreenWidth;
|
||||
obj.Canvas.canvas.height = obj.ScreenHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue