Skip to content

Draw tab: pen split buttons with thickness and colour menus - #1792

Closed
alosslessdev wants to merge 1 commit into
storytold:mainfrom
alosslessdev:draw/pen-menus
Closed

alosslessdev wants to merge 1 commit into
storytold:mainfrom
alosslessdev:draw/pen-menus

Conversation

@alosslessdev

Copy link
Copy Markdown
Contributor

Fixes #1785.

Each Draw-tab pen is now a split button: the body selects the pen, the arrow opens Excel's pen menu — thickness choices and the colour palette — wired to the existing draw.pen params.

What changed

Cut from main, independent of #1767/#1187; the editable pen gallery in #1187 (add/remove pens, effects) remains its own work.

Verification

  • cargo fmt --all -- --check
  • cargo clippy -p gridcraft-ui-egui --all-targets -- -D warnings
  • cargo test -p gridcraft-ui-egui (full crate suite)
  • Offscreen render shows the four pen buttons with chevrons in the Draw tab
  • docs/ui-parity.md revision history updated; contributors/people.toml entry per AGENTS.md

@alosslessdev

Copy link
Copy Markdown
Contributor Author

Closing in favour of #1187, which replaces the pen split-button menus with the editable pen gallery. #1785 is tracked on #1187.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Draw tab: pen split buttons with thickness and colour menus

1 participant