Commit d931513ac541f111fea9e040a67d383759ef1dad
1 parent
e8cdc99b
DA > Annotation Toolbar > Body annotation is display on draw mode if user releas…
…e the erase button on the body.
Showing
1 changed file
with
2 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -566,11 +566,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
566 | 566 | $('#canvas').css("z-index", y); |
567 | 567 | } |
568 | 568 | $rootScope.EraseDrawing = function () { |
569 | - $rootScope.isAnnotaionToolBarDrawingModeActive = false; | |
569 | + $rootScope.isAnnotaionToolBarDrawingModeActive = true; | |
570 | 570 | $rootScope.switchCanvas(); |
571 | 571 | $rootScope.isEraseToolSelected = true; |
572 | 572 | //$rootScope.switchCanvasToPaintCanvas(); |
573 | - $('.btnCursor').removeClass('activebtncolor'); | |
573 | + $('.btnCursor').removeClass('activebtncolor'); | |
574 | 574 | $(".btn-annotation").removeClass("activebtncolor"); |
575 | 575 | $(".btn-annotation-erase").addClass("activebtncolor"); |
576 | 576 | } | ... | ... |