mirror of
https://github.com/tsl0922/EPD-nRF5.git
synced 2025-12-10 16:18:12 +08:00
add paint tools for html
This commit is contained in:
@@ -364,7 +364,9 @@ function clear_canvas() {
|
||||
if(confirm('确认清除画布内容?')) {
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function convert_dithering() {
|
||||
|
||||
Reference in New Issue
Block a user