From e52f1d24a489432dabdca56e3552cff128d17f65 Mon Sep 17 00:00:00 2001 From: Mukul Date: Mon, 10 Apr 2017 15:56:04 +0530 Subject: [PATCH] this is for bug 15623 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 111dc7f..db5de5d 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -880,8 +880,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.switchCanvas(); } - else if ($("#editstylebackgroundcolor span.minicolors-swatch-color").css('background-color') == "rgba(0, 0, 0, 0)") - { + else if (($("#editstylebackgroundcolor span.minicolors-swatch-color").css('background-color') == "transparent") || ($("#editstylebackgroundcolor span.minicolors-swatch-color").css('background-color') == "rgba(0, 0, 0, 0)")) { // 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 $rootScope.switchCanvas(); -- libgit2 0.21.4