From db85f87f39cc2b0f1531a3cc7e24c76379dada1b Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 30 Nov 2016 16:09:32 +0530 Subject: [PATCH] commit changes for Issue : 9711 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 15 ++++++++++++--- 400-SOURCECODE/AIAHTML5.Web/index.html | 48 +++++++++++++++++++++++++----------------------- 2 files changed, 37 insertions(+), 26 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 6e51ddf..ec0f66d 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -345,8 +345,16 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", $("#canvas").css("display", "block"); $rootScope.switchCanvasToPaintCanvas(); $rootScope.shapeType = "FreeStylePaint"; - var a = $("#amount-2").val(); + //var a = $("#amount-2").val(); + //$rootScope.shapeSize = parseInt(a); + + var a = $("#btnBrushSize").val(); $rootScope.shapeSize = parseInt(a); + $("#msglist").attr("data-size", $rootScope.shapeSize); + + $("#msglist").attr("data-color", $rootScope.shapestyleFillColor); + + if ($rootScope.shapeSize == '') { $('#canvasPaint').sketch({ defaultSize: 1 }); } @@ -454,7 +462,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", $rootScope.shapestyleborderWidth = 2; $rootScope.shapestyleborderStyles = "solid"; $rootScope.shapestyle = function (id) { - // debugger; + // debugger; document.getElementById('modelbackground').style.display = "none"; document.getElementById('modeleditstyle').style.display = "none"; @@ -481,7 +489,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", //Edit Shape Style popup should open at it's default position $("#modeleditstyle").css({ "left": "40%", "right": "0", "top": "70px" }); - + } $rootScope.enableAnnotationToolBar = function () { @@ -500,6 +508,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", $('#slider-range-min-4 span.ui-slider-handle').css("left", (previewOpacity * 100) + "%"); }; + } } diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 55e41d0..5f8f4cd 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -536,33 +536,35 @@
- -   -
-
- -
-
-
- + + + +   +
+
+
-
- +
+
+ +
+
+ +
-
-
+
-
-
-
-
-
+
+
+
+
+
-- libgit2 0.21.4