Commit 50cc6107a9f3d3b77d2f7f6e7fbdf084d74cb1bc
1 parent
48c966dd
when user select something and extract in Lateral arm, the transparenct area of …
…image of hand became black. This is fixed now.
Showing
1 changed file
with
2 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -1927,8 +1927,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
1927 | 1927 | |
1928 | 1928 | if ($rootScope.viewOrientationId == 5 && (bodyRegionId == 6 || bodyRegionId == 4)) { |
1929 | 1929 | |
1930 | - var canavsWidth = parseInt(grayCanvasContext.width) + 'px'; | |
1931 | - var canavsHeight = parseInt(grayCanvasContext.height) + 'px'; | |
1930 | + var canavsWidth = parseInt(grayCanvas.width) ; | |
1931 | + var canavsHeight = parseInt(grayCanvas.height); | |
1932 | 1932 | |
1933 | 1933 | console.log('canavsWidth= ' + canavsWidth + ', canavsHeight= ' + canavsHeight) |
1934 | 1934 | ... | ... |