-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #22
base: main
Are you sure you want to change the base?
Update README.md #22
Conversation
update readme.md correct spellings and grammatical miskicks. thank you
May I ask you to update the README.sh instead? README.md is auto-generated from that script. |
add to extra buttons to perform action like - new canvas = it is use for open new canvas in to new tab. - Clear All = it is used to clear all brush stocks and make canvas clear as new
update draw.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also change README.sh
instead of README.md
@@ -10,7 +10,7 @@ Awfice is a collection of tiny office suite apps: | |||
* but they can't store their state, so whatever you type there would be lost on page refresh | |||
* which can be also sold as a "good for your privacy" feature | |||
* this project is only a half-joke, I actually use a few Awfice apps as quick scratchpads. | |||
* the only way to save your job is to save a HTML or send it to the printer/print to PDF. | |||
* The only way to save your job is to save a HTML or send it to the printer/print to PDF. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this one should be capital
<html> | ||
<head> | ||
<FORM> | ||
<INPUT TYPE="button" onClick="history.go(0)" VALUE="Clear All"> | ||
<input type="button" value="New Canvas" | ||
onclick="window.open('draw.html')"> | ||
</FORM> | ||
</head> | ||
<body> | ||
<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> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a lot of meaningless extra bytes
update readme.md
correct spellings and grammatical miskicks.
thank you