diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 0f5de1d..5e779fe 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -379,7 +379,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#DrawMode").addClass("annotationtoolbartab"); $('.btnCursor').addClass('activebtncolor'); $rootScope.switchCanvas(); - + $("#annotationpaintbrushsize").removeClass("activebtncolor"); + $("#annotationpainteraser").removeClass("activebtncolor"); + $rootScope.isEraseToolSelected = false; // $("#canvasPaint").css("display", "block"); // $("#canvas").css("display", "block"); @@ -577,6 +579,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $('.btnCursor').removeClass('activebtncolor'); $(".btn-annotation").removeClass("activebtncolor"); $(".btn-annotation-erase").addClass("activebtncolor"); + } $rootScope.isShapeSyleOkBtnClicked = false;