pixi
pixi copied to clipboard
Bucket tool changes colors across entire image, not just the selected sprite
When using the bucket tool, it affects the entire image, not just the chosen sprite. I'm not sure if this is intentional behavior or not
Thanks for the issue! Yes, I had quickly added the bucket tool for myself to use to swap colors for a project I was trying to complete. The bucket tool should be confined to a single tile, but it does change all of the selected color. I need to develop a fill algorithm and get that working so the tool is functional.
@tnothy 's PR fixes this, I also added an enhancement to contiguous fill on click, and on ctrl/cmd + click replaces all occurrences of a color in a sprite.