pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Bucket tool changes colors across entire image, not just the selected sprite

Open VisenDev opened this issue 1 year ago • 1 comments

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

VisenDev avatar Oct 02 '23 22:10 VisenDev

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.

foxnne avatar Oct 03 '23 13:10 foxnne

@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.

foxnne avatar Aug 02 '24 18:08 foxnne