Commit 017bbdc464b3b17d5c64c77fb2d966df5df98131
1 parent
9c3f0aab
sol for bug 21458 Medial Arm > Navigator appear out from the Body navigator panel box.
Showing
1 changed file
with
8 additions
and
8 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -104,18 +104,14 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
104 | 104 | $rootScope.NavigatorData; |
105 | 105 | $scope.navimgsrc; |
106 | 106 | |
107 | - $scope.dragdivleft = 21; | |
107 | + $scope.dragdivleft; | |
108 | 108 | $scope.dragdivtop = 0; |
109 | 109 | |
110 | 110 | $rootScope.systemNumber = 0; |
111 | 111 | |
112 | 112 | $scope.IsSearchVisible = false; |
113 | 113 | $scope.shapesize = 1; |
114 | - $scope.dragdivposition = { | |
115 | - "left": $scope.dragdivleft, | |
116 | - "top": $scope.dragdivtop | |
117 | - }; | |
118 | - | |
114 | + | |
119 | 115 | |
120 | 116 | //array for bodyviewid correspoing to male female(used for gender change) |
121 | 117 | $scope.correspondingBodyViewIds = { |
... | ... | @@ -1248,13 +1244,17 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
1248 | 1244 | }; |
1249 | 1245 | } |
1250 | 1246 | } |
1251 | - | |
1252 | - | |
1247 | + | |
1248 | + $scope.dragdivposition = { | |
1249 | + "left": $scope.dragdivleft, | |
1250 | + "top": $scope.dragdivtop | |
1251 | + }; | |
1253 | 1252 | |
1254 | 1253 | $('#draggable').css('width', dragdivw); |
1255 | 1254 | $('#draggable').css('height', dragdivh) |
1256 | 1255 | |
1257 | 1256 | } |
1257 | + | |
1258 | 1258 | |
1259 | 1259 | function scaleRectangle(x, y, height, width, mirrorValue) { |
1260 | 1260 | var nzoom = $rootScope.zoomInOut; | ... | ... |