mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 00:23:21 +00:00 
			
		
		
		
	GUACAMOLE-152: Update zoom level on blur and submit, remove debounce.
This commit is contained in:
		| @@ -151,7 +151,9 @@ | |||||||
|                     <div class="content"> |                     <div class="content"> | ||||||
|                         <div id="zoom-settings"> |                         <div id="zoom-settings"> | ||||||
|                             <div ng-click="zoomOut()" id="zoom-out"><img src="images/settings/zoom-out.png" alt="-"/></div> |                             <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 ng-click="zoomIn()" id="zoom-in"><img src="images/settings/zoom-in.png" alt="+"/></div> | ||||||
|                         </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> |                         <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> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user