diff --git a/ti/static/ti/cv.js b/ti/static/ti/cv.js index 7678510a5306d17cbf123c4bc764bab280cd3eb5..94ab46a6d6ba4aa290be6b7d46785d8e3922afae 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(){