diff --git a/webroot/js/olinvas.js b/webroot/js/olinvas.js index db18da3..453093d 100644 --- a/webroot/js/olinvas.js +++ b/webroot/js/olinvas.js @@ -1,7 +1,7 @@ /*============================== Olinvas Client -------------------------------- -client ver.1.1.4 +client ver.1.1.4.1 protocol ver.1.1 ==============================*/ @@ -173,7 +173,9 @@ var serverPort = 13181; break; case 'ClearBoard-Echo': - ctx.clearRect(0, 0, canvas.width, canvas.height); + //ctx.clearRect(0, 0, canvas.width, canvas.height); + ctx.fillStyle = "rgb(255,255,255)"; + ctx.fillRect(0, 0, canvas.width, canvas.height); break; case 'TooConnection-Echo': @@ -362,6 +364,9 @@ var serverPort = 13181; var mouseY = null; var pointerId = null; + ctx.fillStyle = "rgb(255,255,255)"; + ctx.fillRect(0, 0, canvas.width, canvas.height); + function drawStart(event){ if(event.pointerType === 'pen' && pointerId === null){ event.preventDefault();