Commit c88829c0ee3b946387d140e5023d52c433df5626

Authored by Amrita Vishnoi
2 parents 4030dd38 620fb4a1

Merge branch 'transparentcolorissue' into Develop

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -811,6 +811,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
811 811  
812 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 820 else {
815 821  
816 822 $rootScope.switchCanvasToPaintCanvas();
... ...