Skip to content

F14 follow-up — Make bucket fill follow numbered regions #324

Description

@Flow-Fly

Follow-up to #128 based on the first real guided-drawing playtest.

Product rule

In a guided project, Bucket is a region assist, not an automatic solver.

Scope

  • Clicking a guided cell finds the four-connected region sharing that target number.
  • Fill only currently transparent cells in that guide region and preserve all artwork already painted there.
  • Connectivity follows the guide map, so preserved painted cells do not prevent reaching the remaining cells.
  • Use the artist's currently selected color; never auto-select or force the target color.
  • Keep normal-project bucket behavior unchanged.
  • Update canvas pixels and the indexed-color buffer together as one undoable drawing action.
  • A zero-number cell or a fully painted region is a no-op.

Acceptance

  • Separate islands with the same number are not filled together.
  • Diagonal-only neighbors are not connected.
  • Existing painted and off-guide pixels are preserved.
  • Guided progress updates after the fill.
  • Normal bucket behavior remains covered by existing tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions