Commit 027496b9c3fd9c4cda036fb83fafb4ebfe22eb7c
1 parent
06e0644a
closing transparency box on zoom button click and now body is drawn with correct layer.
Showing
1 changed file
with
4 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -4107,6 +4107,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | @@ -4107,6 +4107,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo | ||
4107 | 4107 | ||
4108 | $scope.enableZoom = function () { | 4108 | $scope.enableZoom = function () { |
4109 | 4109 | ||
4110 | + if ($scope.isTransparencyActivated) { | ||
4111 | + $scope.CloseTransparencyBox(); | ||
4112 | + } | ||
4113 | + | ||
4110 | $rootScope.isZoomed = true; | 4114 | $rootScope.isZoomed = true; |
4111 | //1. | 4115 | //1. |
4112 | $scope.flushCanvas(); | 4116 | $scope.flushCanvas(); |