From 620fb4a13cbad5f19ef97ce4e771524ad8d8e52d Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 24 Mar 2017 14:50:05 +0530 Subject: [PATCH] this is for bug 15623 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 867ec8c..4127bc8 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -811,6 +811,12 @@ 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)") + { + // 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(); + } else { $rootScope.switchCanvasToPaintCanvas(); -- libgit2 0.21.4