diff --git a/ti/templates/ti/index.html b/ti/templates/ti/index.html index 758f0e4cd4fc730f0511a382a6b0de095bdf95a9..73024bf31139e01f1b91761e7985a610491633ef 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">