Commit c88829c0ee3b946387d140e5023d52c433df5626
Merge branch 'transparentcolorissue' into Develop
Showing
1 changed file
with
6 additions
and
0 deletions
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(); | ... | ... |