Commit 48c966dd59fbd9d08b7643c0f6e291272d3c4fe7
1 parent
0c71d61f
introduced new folder for annotation toolbar
Showing
2 changed files
with
27 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -1921,6 +1921,33 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
1921 | 1921 | |
1922 | 1922 | |
1923 | 1923 | grayCanvasContext.putImageData(updatedData, 0, 0); |
1924 | + | |
1925 | + | |
1926 | + //NIKI- to resolve lateral arm black issue in highlight mode | |
1927 | + | |
1928 | + if ($rootScope.viewOrientationId == 5 && (bodyRegionId == 6 || bodyRegionId == 4)) { | |
1929 | + | |
1930 | + var canavsWidth = parseInt(grayCanvasContext.width) + 'px'; | |
1931 | + var canavsHeight = parseInt(grayCanvasContext.height) + 'px'; | |
1932 | + | |
1933 | + console.log('canavsWidth= ' + canavsWidth + ', canavsHeight= ' + canavsHeight) | |
1934 | + | |
1935 | + var imgData = grayCanvasContext.getImageData(0, 0, canavsWidth, canavsHeight); | |
1936 | + var data = imgData.data; | |
1937 | + var c = 0; | |
1938 | + for (var i = 0; i < data.length; i += 4) { | |
1939 | + if (data[i] == data[i + 1] && data[i + 1] == data[i + 2] && data[i + 2] === 0) { | |
1940 | + data[i + 3] = 0; | |
1941 | + } | |
1942 | + | |
1943 | + } | |
1944 | + grayCanvasContext.putImageData(imgData, 0, 0); | |
1945 | + } | |
1946 | + | |
1947 | + | |
1948 | + //NIKI | |
1949 | + | |
1950 | + | |
1924 | 1951 | // } |
1925 | 1952 | |
1926 | 1953 | if ($rootScope.multiAnnotationIsON == true) { | ... | ... |
400-SOURCECODE/AIAHTML5.Web/content/images/common/annotation-tool-bar/blank-shape.jpg
0 → 100644
7.38 KB