This commit is contained in:
@@ -16,6 +16,7 @@ const clearCanvas = () => {
|
||||
|
||||
if (ctx.value) {
|
||||
ctx.value.clearRect(0, 0, imageWidth * ONE_MM, imageHeight * ONE_MM);
|
||||
ctx.value.beginPath();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user