From a1d80475aadb984951db8a81df7b1f7f62998b64 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 31 Aug 2016 12:31:48 +0530 Subject: [PATCH] Commit Changes For Pencil (Removed Scaling) --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 9a868fa..b71edbc 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -6315,18 +6315,18 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo case "FreeStylePaint": debugger; + $('#canvasPaint').sketch({ defaultSize: 1 }); + //if ($("#amount-2").val() == '') { + // $('#canvasPaint').sketch({ defaultSize: $scope.shapesize }); + //} + //else { - if ($("#amount-2").val() == '') { - $('#canvasPaint').sketch({ defaultSize: $scope.shapesize }); - } - else { - - var a = $("#amount-2").val(); - $scope.shapesize = parseInt(a); - // alert(JSON.stringify({ defaultSize: $scope.shapesize })); - $('#canvasPaint').sketch({ defaultSize: $scope.shapesize }); + // var a = $("#amount-2").val(); + // $scope.shapesize = parseInt(a); + // // alert(JSON.stringify({ defaultSize: $scope.shapesize })); + // $('#canvasPaint').sketch({ defaultSize: $scope.shapesize }); - } + //} break; -- libgit2 0.21.4