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

Tools in use do not get cleared when the user clears the drawing #216

Closed ZMYaro closed 3 years ago

ZMYaro commented 3 years ago

Steps to reproduce the behavior

  1. Select a tool that does not stop using the precanvas when the pointer is released (e.g., curve tool or selection tool).
  2. Start using it (e.g., draw line to start a curve or select a region, respectively).
  3. Clear the canvas with the clear button or keyboard shortcut.
  4. The content on the precanvas (and floating region, if applicable) remains.

Expected behavior Everything should be cleared.

(Caught by David Martin.)

ZMYaro commented 3 years ago

Fixed in https://github.com/ZMYaro/paintz/commit/6cd98814f897b1f24c2dc5e7bf0c8ca69dac8187.