Commit afb328d84bb467d2d6d3d71c734bb23174d8b943
Merge branch 'HighLightOptimization1' of http://52.6.196.163/ADAM/AIAHTML5 into …
…MultiWorkerProcessForHighlight
Showing
1 changed file
with
7 additions
and
7 deletions
400-SOURCECODE/AIAHTML5.Web/match-pixel-wp.js
... | ... | @@ -86,16 +86,16 @@ function updateGrayCanvasDataOnMatcghedLocation(termList, maskCanvasData, colore |
86 | 86 | previousGrayImageDataList[parseInt(bodyRegionId - 1)] = grayImageData; |
87 | 87 | |
88 | 88 | // if (matched == true) { |
89 | - self.postMessage({ | |
90 | - 'bodyRegionId': bodyRegionId, | |
91 | - 'value': grayImageData, | |
92 | - | |
93 | - | |
94 | - }); | |
89 | + | |
95 | 90 | // } |
96 | 91 | |
97 | 92 | } |
98 | - | |
93 | + self.postMessage({ | |
94 | + 'bodyRegionId': bodyRegionId, | |
95 | + 'value': grayImageData, | |
96 | + | |
97 | + | |
98 | + }); | |
99 | 99 | } |
100 | 100 | |
101 | 101 | self.onmessage = function (e) { | ... | ... |