From e6ea746c3f3d20f9b046fbb26c30f740d431dfb0 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 28 Oct 2016 12:29:46 +0530 Subject: [PATCH] Renamed Canvas Paint Object Name --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 59612c9..6243f52 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -1111,8 +1111,8 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", var canvasElement = document.getElementById("canvas"); var ctx = canvasElement.getContext("2d"); - var canvasElement1 = document.getElementById("canvasPaint"); - var ctx1 = canvasElement1.getContext("2d"); + var canvasPaintElement = document.getElementById("canvasPaint"); + var PaintCanvasctx = canvasPaintElement.getContext("2d"); switch ($rootScope.shapeType) { @@ -1120,7 +1120,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", case "cursor": // ctx.clearRect(0, 0, 2277, 3248); ctx.beginPath(); - ctx1.beginPath(); + PaintCanvasctx.beginPath(); break; -- libgit2 0.21.4