steffest / DPaint-js

Webbased image editor, modeled after the legendary Deluxe Paint with a focus on retro Amiga file formats: read and write Amiga icon files and IFF ILBM images
https://www.stef.be/dpaint/
MIT License
486 stars 28 forks source link

Clicks on scrollers draw on canvas #4

Closed grzegorz-kraszewski closed 1 year ago

grzegorz-kraszewski commented 1 year ago

When canvas is zoomed in, so it gets scrollers, clicking on them (to scroll the canvas) "goes through" and draws on the canvas. Steps to reproduce:

  1. Select bigger brush, so the problem is better visible.
  2. Zoom in until you get at least one scroller laying over the canvas.
  3. Scroll a bit.
  4. Zoom out, a dot is painted on the canvas.
steffest commented 1 year ago

Right! That was a clear bug. Thanks. I never noticed it, because I always scroll with the touchpad or with space-drag.

Should be fixed now.