update
continuous-integration/drone/push Build is passing Details

master
Evan Chen 2022-07-15 17:25:31 +08:00
parent ffdf62565a
commit 54782c5256
1 changed files with 1 additions and 0 deletions

1
白板/index.html Normal file
View File

@ -0,0 +1 @@
<canvas id=v><script>d=document,d.body.style.margin=0,P="onpointer",c=v.getContext`2d`,v.width=innerWidth,v.height=innerHeight,c.lineWidth=2,f=0,d[P+"down"]=e=>{f=e.pointerId+1;e.preventDefault();c.beginPath();c.moveTo(e.x,e.y)};d[P+"move"]=e=>{f==e.pointerId+1&&c.lineTo(e.x,e.y);c.stroke()},d[P+"up"]=_=>f=0</script></canvas>