Commit f455b7bada62408c4361d67591ffca89c8823654

Authored by unknown
1 parent 532e67d4

DA > Annotation Toolbar > Default color "White" in Fill Option and "Black" in Ou…

…tline Option is display in the below mention case.
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -505,6 +505,12 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", @@ -505,6 +505,12 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
505 else { 505 else {
506 document.getElementById('modelbackground').style.display = "block"; 506 document.getElementById('modelbackground').style.display = "block";
507 document.getElementById('modeleditstyle').style.display = "block"; 507 document.getElementById('modeleditstyle').style.display = "block";
  508 +
  509 + // alert(document.getElementById('outlinedivId').style.border);
  510 + // alert(document.getElementById('imgOpacity').style.backgroundColor);
  511 + $('#editstylebackgroundcolor .minicolors >.minicolors-swatch > .minicolors-swatch-color').css("background-color", document.getElementById('imgOpacity').style.backgroundColor);
  512 + $('#outlineColor .minicolors >.minicolors-swatch > .minicolors-swatch-color').css("background-color", document.getElementById('outlinedivId').style.border);
  513 +
508 if ($('#modeleditstyle').css("display") == "block") { //Check if the modal is already showing 514 if ($('#modeleditstyle').css("display") == "block") { //Check if the modal is already showing
509 var previewOpacity = $('#imgOpacity').css("opacity"); 515 var previewOpacity = $('#imgOpacity').css("opacity");
510 $('#slider-range-min-4 div.ui-slider-range-min').css("width", (previewOpacity * 100) + "%"); 516 $('#slider-range-min-4 div.ui-slider-range-min').css("width", (previewOpacity * 100) + "%");
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -524,8 +524,8 @@ @@ -524,8 +524,8 @@
524 <!--#7931--> 524 <!--#7931-->
525 525
526 <div id="edit-block" style="display: none; font-size: 13px;">Edit Shape Style</div> 526 <div id="edit-block" style="display: none; font-size: 13px;">Edit Shape Style</div>
527 - <div class="outlinediv" ng-mouseover="mouseMoveToolTip(170, 170, 120, 'Edit Style')" ng-mouseleave="mouseOutToolTip()">  
528 - <div id="shapeStyleDiv" class="fullcolordiv" ng-click="disableAnnotationtoolOnListManager||enableAnnotationToolBar()"> 527 + <div class="outlinediv" style="border: 1px solid #000000;" ng-mouseover="mouseMoveToolTip(170, 170, 120, 'Edit Style')" ng-mouseleave="mouseOutToolTip()">
  528 + <div id="shapeStyleDiv" style="background-color: #ffffff;" class="fullcolordiv" ng-click="disableAnnotationtoolOnListManager||enableAnnotationToolBar()">
529 529
530 </div> 530 </div>
531 531
@@ -877,8 +877,8 @@ @@ -877,8 +877,8 @@
877 <div class="marginTopBtm10"> 877 <div class="marginTopBtm10">
878 878
879 <div class="well well-sm no-margin-btm blankshapediv"> 879 <div class="well well-sm no-margin-btm blankshapediv">
880 - <div class="outlinediv">  
881 - <div id="imgOpacity" class="fullcolordiv imgopacity"> 880 + <div class="outlinediv" id="outlinedivId" style="border: 1px solid #000000;">
  881 + <div id="imgOpacity" style="background-color: #ffffff" class="fullcolordiv imgopacity">
882 </div> 882 </div>
883 </div> 883 </div>
884 </div> 884 </div>
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
@@ -919,7 +919,7 @@ background-size:cover; @@ -919,7 +919,7 @@ background-size:cover;
919 } 919 }
920 .outlinediv 920 .outlinediv
921 { 921 {
922 - border:1px solid black; 922 + /*border:1px solid black;*/
923 width: 72%; 923 width: 72%;
924 margin-left: auto; 924 margin-left: auto;
925 margin-right: auto; 925 margin-right: auto;