Commit 0eda95c0793ed9cd47bd213711bc37c00ac48d7d

Authored by unknown
1 parent ec5293dc

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -782,10 +782,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
782 782 $scope.modestyImageInfo = [];
783 783 // annotation toolbar canvas
784 784 if ($("#canvasDiv").find("canvas[id='canvasPaint']").length == 0) {
785   -
786   - var annotationAppendedCanvas = $("#canvasDiv").append('<canvas id="canvasPaint" width="2277" height="3248" class="canvas-annotationStyle1"></canvas><canvas id="canvas" ng-click="BindCanvasDrawingListners($event)" width="2277" height="3248" class="canvas-annotationStyle"></canvas>');
787   - $compile(annotationAppendedCanvas)($scope);
788   - $scope.BindCanvasDrawingListners();
  785 + $("#canvasDiv").append('<canvas id="canvasPaint" width="2277" height="3248" class="canvas-annotationStyle1"></canvas><canvas id="canvas" ng-click="BindCanvasDrawingListners($event)" width="2277" height="3248" class="canvas-annotationStyle"></canvas>');
  786 + //var annotationAppendedCanvas =
  787 + // $compile(annotationAppendedCanvas)($scope);
  788 + // $scope.BindCanvasDrawingListners();
789 789 // $rootScope.FreeStylePaint();
790 790  
791 791 }
... ... @@ -4640,7 +4640,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4640 4640  
4641 4641 $rootScope.DrawingListners_Canvas = function (event) {
4642 4642  
4643   - debugger;
  4643 +
4644 4644 var canvasDiv = document.getElementById('canvasDiv');
4645 4645 var verticalScrollPosition = canvasDiv.scrollTop;
4646 4646 var horizontlScrollPosition = canvasDiv.scrollLeft;
... ... @@ -4676,7 +4676,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
4676 4676  
4677 4677 }
4678 4678 else {
4679   - debugger;
  4679 + // debugger;
4680 4680 var maskCanvasIdForAnnotation = "imageCanvas" + $rootScope.MaskedCanvasIDForAnnotation + "_MR_mci";
4681 4681 var maskoffsetval = $('#' + maskCanvasIdForAnnotation).offset();
4682 4682 var mirrorCanvasX = maskoffsetval.left;
... ...
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -1887,7 +1887,7 @@ AIA.controller(&quot;HomeController&quot;, [&quot;$rootScope&quot;, &quot;Modules&quot;, &quot;$log&quot;, &quot;$location&quot;,
1887 1887 //----
1888 1888  
1889 1889 $rootScope.BindCanvasDrawingListners = function (event) {
1890   - debugger;
  1890 +
1891 1891 $rootScope.clicked = true;
1892 1892 // OnPaintCanvasMouseDown(event);
1893 1893  
... ...