Part of #118145. Use a utility for updating mask values and detecting changes and pushing undo steps. Also use the attribute API for accessing color attributes and pass flood fill data as arguments instead of a separate struct.
Part of #118145. Use a utility for updating mask values and detecting changes and pushing undo steps. Also use the attribute API for accessing color attributes and pass flood fill data as arguments instead of a separate struct.