ZMYaro / paintz

A simple drawing app that runs in a web browser, designed to be an MS Paint substitute for Chromebooks and other Chrome OS devices. PaintZ is free, but please consider supporting development at https://ko-fi.com/ZMYaro or https://patreon.com/ZMYaro.
https://paintz.app
53 stars 11 forks source link

Make Ctrl+N open the Clear dialog #196

Closed ZMYaro closed 3 years ago

ZMYaro commented 3 years ago

Added in https://github.com/ZMYaro/paintz/commit/4c9c72bdf2a24613f40728f7fa8fdc1f9ba4a8e5.

ZMYaro commented 3 years ago

Reopening because Ctrl+Shift+N worked in classic Paint as well (Image → Clear Image). Instead of making it a new file, it just adds clearing the canvas as an undoable step (with no confirmation). Since the PaintZ clear operation is already undoable, Ctrl+Shift+N should clear the image without a prompt. Worrying about the new file/same file distinction can wait until v4 adds quick save.

ZMYaro commented 3 years ago

Ctrl+Shift+N added in https://github.com/ZMYaro/paintz/commit/a4709b814ecf5e490f529437d8233f7121daaa39.