mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-807: Fixed connection parameter editing and made menu show on keydown instead of keyup.
This commit is contained in:
		
				
					committed by
					
						 Michael Jumper
						Michael Jumper
					
				
			
			
				
	
			
			
			
						parent
						
							1b121ba665
						
					
				
				
					commit
					72c82aea8b
				
			| @@ -95,11 +95,8 @@ angular.module('home').controller('clientController', ['$scope', '$routeParams', | ||||
|     } | ||||
|      | ||||
|     $scope.$on('guacKeydown', function keydownListener(event, keysym, keyboard) { | ||||
|         keysCurrentlyPressed[keysym] = true; | ||||
|     }); | ||||
|  | ||||
|     // Listen for broadcasted keyup events and fire the appropriate listeners | ||||
|     $scope.$on('guacKeyup', function keyupListener(event, keysym, keyboard) { | ||||
|         keysCurrentlyPressed[keysym] = true;    | ||||
|          | ||||
|         /*  | ||||
|          * If only menu keys are pressed, and we have one keysym from each group, | ||||
|          * and one of the keys is being released, show the menu.  | ||||
| @@ -125,7 +122,10 @@ angular.module('home').controller('clientController', ['$scope', '$routeParams', | ||||
|                 keysCurrentlyPressed = {}; | ||||
|             } | ||||
|         } | ||||
|          | ||||
|     }); | ||||
|  | ||||
|     // Listen for broadcasted keyup events and fire the appropriate listeners | ||||
|     $scope.$on('guacKeyup', function keyupListener(event, keysym, keyboard) { | ||||
|         delete keysCurrentlyPressed[keysym]; | ||||
|     }); | ||||
|      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user