manuhabitela/drawingboard.js

Paint Bucket Not Working when background set to Transparent

Opened this issue · 0 comments

Paint bucket does not work on transparent backgrounds:

  • If background is set to an image, the image itself can be painted on. Outside the image (if transparent), paint bucket does not work.

  • If you use the paintbrush on a transparent area first before switching over to the paintbucket then try to use the paint bucket on the background image this will fail to work.

  • if background is set to a color, paint bucket works fine.

edit

  • if the eraserColor is set to transparent, but background is set to a color, this also prevent the fill/bucket tool from not working.