viliusle / miniPaint

online image editor
http://viliusle.github.io/miniPaint/
Other
2.59k stars 602 forks source link

Contiguous being glitchy #350

Closed RepeatGitHub closed 1 year ago

RepeatGitHub commented 1 year ago

I've been using miniPaint for a bit, and I noticed that whenever I use the Fill or Magic Erase tool with Contiguous enabled, it applies to pixels that it shouldn't apply to, even with the lowest power on said tools possible. When using the Fill or Magic Erase tool with Contiguous disabled, it works as intended, so I assume the issue is because of a bug within the Contiguous feature.

viliusle commented 1 year ago

Power is in scale of 1-100, not 1-255. So even with power of 1, it will be 1% or 2.55 color value from 0-255 range.

I agree, it can be confusing, it was done to simply thing things ( 0-100 is better than 0-255 range for most users I believe)