Commit 146f1cd2a9623532e1bc85b699d8240690d8a96e
1 parent
76ffffc5
removed other bug fix
Showing
1 changed file
with
1 additions
and
8 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -5412,17 +5412,10 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
5412 | 5412 | //} |
5413 | 5413 | } |
5414 | 5414 | |
5415 | - if (isLayerChanged || isResized) { | |
5416 | - | |
5417 | - transNumber = 100; | |
5418 | - | |
5419 | - $(".slider").slider('value', 100); | |
5420 | - // $("#slider").slider('value',100); | |
5421 | - } | |
5422 | 5415 | // set every fourth value to the desired number of transparency |
5423 | 5416 | var imageD1 = tempCtx.getImageData(0, 0, Width, Height); |
5424 | 5417 | var imageData1 = imageD1.data; |
5425 | - var length = imageData1.length; | |
5418 | + var length = imageData.length; | |
5426 | 5419 | |
5427 | 5420 | for (var i = 3; i < length; i += 4) { |
5428 | 5421 | ... | ... |