From e0dcd67a9ba8ee2e43bba348b2456745c54b2ebf Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 23 Mar 2019 16:17:37 -0700 Subject: [PATCH] GUACAMOLE-723: Update size of attached client when a different client is attached. --- guacamole/src/main/webapp/app/client/directives/guacClient.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guacamole/src/main/webapp/app/client/directives/guacClient.js b/guacamole/src/main/webapp/app/client/directives/guacClient.js index 769edd703..cc8829657 100644 --- a/guacamole/src/main/webapp/app/client/directives/guacClient.js +++ b/guacamole/src/main/webapp/app/client/directives/guacClient.js @@ -282,6 +282,9 @@ angular.module('client').directive('guacClient', [function guacClient() { return false; }; + // Size of newly-attached client may be different + $scope.mainElementResized(); + }); // Update actual view scrollLeft when scroll properties change