Commit 620fb4a13cbad5f19ef97ce4e771524ad8d8e52d

Authored by Mukul Rajput
1 parent 2b458b25

this is for bug 15623

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -811,6 +811,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -811,6 +811,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
811 811
812 $rootScope.switchCanvas(); 812 $rootScope.switchCanvas();
813 } 813 }
  814 + else if ($("#editstylebackgroundcolor span.minicolors-swatch-color").css('background-color') == "rgba(0, 0, 0, 0)")
  815 + {
  816 + // we are switching canvas from paint to draw to prevent paint because it does not take transparent color and we need control default black color for the case where user has unchecked fill option from Edit Shape Style window
  817 +
  818 + $rootScope.switchCanvas();
  819 + }
814 else { 820 else {
815 821
816 $rootScope.switchCanvasToPaintCanvas(); 822 $rootScope.switchCanvasToPaintCanvas();