Commit 8756bd9684414672a97f9e525900200e122f9f4d

Authored by unknown
1 parent 8a21167f
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -379,7 +379,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -379,7 +379,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
379 $("#DrawMode").addClass("annotationtoolbartab"); 379 $("#DrawMode").addClass("annotationtoolbartab");
380 $('.btnCursor').addClass('activebtncolor'); 380 $('.btnCursor').addClass('activebtncolor');
381 $rootScope.switchCanvas(); 381 $rootScope.switchCanvas();
382 - 382 + $("#annotationpaintbrushsize").removeClass("activebtncolor");
  383 + $("#annotationpainteraser").removeClass("activebtncolor");
  384 + $rootScope.isEraseToolSelected = false;
383 // $("#canvasPaint").css("display", "block"); 385 // $("#canvasPaint").css("display", "block");
384 // $("#canvas").css("display", "block"); 386 // $("#canvas").css("display", "block");
385 387
@@ -577,6 +579,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -577,6 +579,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
577 $('.btnCursor').removeClass('activebtncolor'); 579 $('.btnCursor').removeClass('activebtncolor');
578 $(".btn-annotation").removeClass("activebtncolor"); 580 $(".btn-annotation").removeClass("activebtncolor");
579 $(".btn-annotation-erase").addClass("activebtncolor"); 581 $(".btn-annotation-erase").addClass("activebtncolor");
  582 +
580 } 583 }
581 584
582 $rootScope.isShapeSyleOkBtnClicked = false; 585 $rootScope.isShapeSyleOkBtnClicked = false;