From d1842d5260b7f8f2b08eb8ea5f3d7cce88a68114 Mon Sep 17 00:00:00 2001
From: Young Guk Kim <kyk1047715@gmail.com>
Date: Wed, 25 Apr 2018 06:46:02 +0900
Subject: [PATCH] d

---
 ti/static/ti/cv.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ti/static/ti/cv.js b/ti/static/ti/cv.js
index 7678510..94ab46a 100644
--- a/ti/static/ti/cv.js
+++ b/ti/static/ti/cv.js
@@ -70,9 +70,6 @@
       pos.Y = coors.Y;
       ctx.moveTo(pos.X, pos.Y);
 
-          ctx.fillStyle = 'red'; // 채우기 색 지정
-          ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
-          ctx.fillRect(0,0,500,500);
   }
 
   function draw(event){
@@ -81,6 +78,9 @@
       pos.X = coors.X;
       pos.Y = coors.Y;
       ctx.stroke();
+                ctx.fillStyle = 'red'; // 채우기 색 지정
+                ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
+                ctx.fillRect(0,0,500,500);
   }
 
   function finishDraw(){
-- 
GitLab