Merge pull request #2083 from jaredevantabor/awx-net-zoom-default

Sets default zoom to 100% on network UI
This commit is contained in:
Jared Tabor
2018-06-07 11:42:36 -07:00
committed by GitHub
5 changed files with 5 additions and 8 deletions

View File

@@ -62,7 +62,7 @@ _Enabled.prototype.onKeyDown = function(controller, msg_type, $event) {
}
if ($event.key === '0') {
scope.jump_to_animation(0, 0, 1.0);
scope.jump_to_animation(0, 0, 0.7);
}
controller.delegate_channel.send(msg_type, $event);
@@ -83,5 +83,3 @@ _Disabled.prototype.onEnable = function (controller) {
};
_Disabled.prototype.onEnable.transitions = ['Enabled'];

View File

@@ -81,7 +81,7 @@ var NetworkUIController = function($scope,
$scope.onMouseLeaveResult = "";
$scope.onMouseMoveResult = "";
$scope.onMouseMoveResult = "";
$scope.current_scale = 1.0;
$scope.current_scale = 0.7;
$scope.current_mode = null;
$scope.panX = 0;
$scope.panY = 0;