Commit d545a0a4a57a14646abd23f8fe44e0f365a00601

Authored by Nikita Kulshreshtha
1 parent 50cf26c4

bug 9711 is fixed

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -348,6 +348,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
348 348 var btnBrushSizeValue = $("#btnBrushSize").val();
349 349 $rootScope.shapeSize = parseInt(btnBrushSizeValue);
350 350 $("#annotationpaintbrushsize").attr("data-size", $rootScope.shapeSize);
  351 +
  352 + $("#annotationpaintbrushsize").attr("data-color", $rootScope.shapestyleFillColor);
  353 +
351 354 if ($rootScope.shapeSize == '') {
352 355 $('#canvasPaint').sketch({ defaultSize: 1 });
353 356 }
... ...
400-SOURCECODE/AIAHTML5.Web/index.html
... ... @@ -536,7 +536,7 @@
536 536 <div class="well well-popup">
537 537 <div class="" role="group" aria-label="...">
538 538 <div>
539   - <a href="#canvasPaint" data-size="1" id="annotationpaintbrushsize" class="btn btn-primary btn-xs pull-left btn-annotation" role="button" data-toggle="tooltip" data-placement="top" title="Paint" style="margin-right:1%;" ng-click="paintBrush()"><i class="fa fa-paint-brush"></i></a>
  539 + <a href="#canvasPaint" data-size="1" data-color="#fff" id="annotationpaintbrushsize" class="btn btn-primary btn-xs pull-left btn-annotation" role="button" data-toggle="tooltip" data-placement="top" title="Paint" style="margin-right:1%;" ng-click="paintBrush()"><i class="fa fa-paint-brush"></i></a>
540 540 <button type="button" class="btn btn-primary btn-xs pull-left btn-annotation" data-toggle="tooltip" data-placement="top" title="Erase" ng-click="EraseDrawing()"><i class="fa fa-eraser"></i></button>&nbsp;
541 541 <div style="width: 80px; margin: 0px 0px 0px 4px; display: inline-block;float:left;">
542 542 <div style="width: 58px; float: left;">
... ...