Commit a1d80475aadb984951db8a81df7b1f7f62998b64

Authored by unknown
1 parent cc7a9a9d

Commit Changes For Pencil (Removed Scaling)

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -6315,18 +6315,18 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
6315 6315 case "FreeStylePaint":
6316 6316  
6317 6317 debugger;
  6318 + $('#canvasPaint').sketch({ defaultSize: 1 });
  6319 + //if ($("#amount-2").val() == '') {
  6320 + // $('#canvasPaint').sketch({ defaultSize: $scope.shapesize });
  6321 + //}
  6322 + //else {
6318 6323  
6319   - if ($("#amount-2").val() == '') {
6320   - $('#canvasPaint').sketch({ defaultSize: $scope.shapesize });
6321   - }
6322   - else {
6323   -
6324   - var a = $("#amount-2").val();
6325   - $scope.shapesize = parseInt(a);
6326   - // alert(JSON.stringify({ defaultSize: $scope.shapesize }));
6327   - $('#canvasPaint').sketch({ defaultSize: $scope.shapesize });
  6324 + // var a = $("#amount-2").val();
  6325 + // $scope.shapesize = parseInt(a);
  6326 + // // alert(JSON.stringify({ defaultSize: $scope.shapesize }));
  6327 + // $('#canvasPaint').sketch({ defaultSize: $scope.shapesize });
6328 6328  
6329   - }
  6329 + //}
6330 6330  
6331 6331  
6332 6332 break;
... ...