From 3129b61bff586b23d7a317f7a5cf94d7745e1ca9 Mon Sep 17 00:00:00 2001
From: Young Guk Kim <kyk1047715@gmail.com>
Date: Wed, 25 Apr 2018 06:23:29 +0900
Subject: [PATCH] in

---
 ti/templates/ti/index.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ti/templates/ti/index.html b/ti/templates/ti/index.html
index 758f0e4..73024bf 100644
--- a/ti/templates/ti/index.html
+++ b/ti/templates/ti/index.html
@@ -119,10 +119,10 @@
         image.src = "{% static 'ti/drawpic.png' %}";
         image.onload = function(){
           ctx.drawImage(image,0,0);
+          ctx.fillStyle = 'white'; // 채우기 색 지정
+          ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
+          ctx.fillRect(0,0,500,500);
         }
-        ctx.fillStyle = 'white'; // 채우기 색 지정
-        ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
-        ctx.fillRect(0,0,500,500);
       }
     </script>
     <script type="text/javascript">
-- 
GitLab