You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/05/17 19:49:51 UTC

[3/7] guacamole-client git commit: GUACAMOLE-152: Update zoom level on blur and submit, remove debounce.

GUACAMOLE-152: Update zoom level on blur and submit, remove debounce.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/10b0afe0
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/10b0afe0
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/10b0afe0

Branch: refs/heads/master
Commit: 10b0afe0cb4a7a3e47b270cf7dd7f7236a5364ac
Parents: 64589f2
Author: Nick Couchman <vn...@apache.org>
Authored: Fri May 4 18:05:10 2018 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Fri May 4 18:05:10 2018 -0400

----------------------------------------------------------------------
 guacamole/src/main/webapp/app/client/templates/client.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/10b0afe0/guacamole/src/main/webapp/app/client/templates/client.html
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/client/templates/client.html b/guacamole/src/main/webapp/app/client/templates/client.html
index d152d80..f79163b 100644
--- a/guacamole/src/main/webapp/app/client/templates/client.html
+++ b/guacamole/src/main/webapp/app/client/templates/client.html
@@ -151,7 +151,9 @@
                     <div class="content">
                         <div id="zoom-settings">
                             <div ng-click="zoomOut()" id="zoom-out"><img src="images/settings/zoom-out.png" alt="-"/></div>
-                            <input type="number" class="zoom-ctrl" guac-zoom-ctrl ng-model="client.clientProperties.scale" ng-model-options="{ debounce: 500 }" />%
+                            <input type="number" class="zoom-ctrl" guac-zoom-ctrl
+                                    ng-model="client.clientProperties.scale"
+                                    ng-model-options="{ updateOn: 'blur submit' }" />%
                             <div ng-click="zoomIn()" id="zoom-in"><img src="images/settings/zoom-in.png" alt="+"/></div>
                         </div>
                         <div><label><input ng-model="menu.autoFit" ng-change="changeAutoFit()" ng-disabled="autoFitDisabled()" type="checkbox" id="auto-fit"/> {{'CLIENT.TEXT_ZOOM_AUTO_FIT' | translate}}</label></div>