Skip to content

feat(note): give every bar tool its own options card - #33

Merged
torstfugl merged 2 commits into
mainfrom
feat/tool-cards
Nov 6, 2026
Merged

torstfugl merged 2 commits into
mainfrom
feat/tool-cards

Conversation

@torstfugl

@torstfugl torstfugl commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Tapping the active tool on the bar again now opens an options card for it, like Shapes and Text already did. The pen card has the saved pens, thickness, opacity, stroke stabilisation, line style, colour and an Add to pen box button. Eraser and Lasso get small cards too. Stabilisation used to be hard coded and is now a saved setting.

Builds on #32.

Verification

  • ktlint, check_repo.py, check_boundaries.py and check_commits.py pass.
  • Extended BarPaneTouchTest for the new cards.

@torstfugl
torstfugl force-pushed the fix/toolbar-panes branch 2 times, most recently from 303855f to 0c0e9c8 Compare November 6, 2026 00:50
@torstfugl
torstfugl changed the base branch from fix/toolbar-panes to main November 6, 2026 00:57
It used to be a fixed 0.25 in WetStroke. Now it lives on the toolbar
state, gets saved with the other tool settings and is passed to each
new stroke. The old value is still the default.
Tapping the active tool again now opens a card for it, the same way
Shapes and Text already worked. The pen card has the saved pens up
top, then thickness, opacity, stabilisation, line style, colour and
an Add to pen box button. Eraser and Lasso get small cards for their
modes and size. The wheel shares the same pen store, so a pen saved
from the card shows up there right away. The bar no longer opens the
wheel; it still has its own tab.
@torstfugl
torstfugl merged commit fb4c3ad into main Nov 6, 2026
4 checks passed
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.

1 participant