From 0eda95c0793ed9cd47bd213711bc37c00ac48d7d Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Dec 2016 10:10:51 +0530 Subject: [PATCH] Commit Changes --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 12 ++++++------ 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index eb3a707..a69f2c4 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -782,10 +782,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $scope.modestyImageInfo = []; // annotation toolbar canvas if ($("#canvasDiv").find("canvas[id='canvasPaint']").length == 0) { - - var annotationAppendedCanvas = $("#canvasDiv").append(''); - $compile(annotationAppendedCanvas)($scope); - $scope.BindCanvasDrawingListners(); + $("#canvasDiv").append(''); + //var annotationAppendedCanvas = + // $compile(annotationAppendedCanvas)($scope); + // $scope.BindCanvasDrawingListners(); // $rootScope.FreeStylePaint(); } @@ -4640,7 +4640,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $rootScope.DrawingListners_Canvas = function (event) { - debugger; + var canvasDiv = document.getElementById('canvasDiv'); var verticalScrollPosition = canvasDiv.scrollTop; var horizontlScrollPosition = canvasDiv.scrollLeft; @@ -4676,7 +4676,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo } else { - debugger; + // debugger; var maskCanvasIdForAnnotation = "imageCanvas" + $rootScope.MaskedCanvasIDForAnnotation + "_MR_mci"; var maskoffsetval = $('#' + maskCanvasIdForAnnotation).offset(); var mirrorCanvasX = maskoffsetval.left; diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 72315c5..9a30a1e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -1887,7 +1887,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", //---- $rootScope.BindCanvasDrawingListners = function (event) { - debugger; + $rootScope.clicked = true; // OnPaintCanvasMouseDown(event); -- libgit2 0.21.4