Skip to content

feat(note): put colours and sizes on the note bar - #34

Merged
torstfugl merged 3 commits into
mainfrom
feat/bar-quick-colours
Nov 6, 2026
Merged

torstfugl merged 3 commits into
mainfrom
feat/bar-quick-colours

Conversation

@torstfugl

@torstfugl torstfugl commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The bar now shows five colours and three sizes after the tools when there's room, so you can change pen colour or size without opening anything. The tool cards also get a cleaner look, with a divider under the title and each control in its own soft panel.

Builds on #33.

Verification

  • ktlint, check_repo.py and check_commits.py pass.
  • Added NoteBarQuickTest for the colour list, size snapping and bar fit.

@torstfugl
torstfugl force-pushed the feat/bar-quick-colours branch from b6c4824 to cfa7112 Compare November 6, 2026 00:38
@torstfugl
torstfugl force-pushed the feat/tool-cards branch 2 times, most recently from 2cda5c1 to 8de5386 Compare November 6, 2026 01:05
When the bar has room after the tools, it now shows five colours and
three sizes. Tapping one sets it on the pen right away, and with the
eraser or lasso on it switches back to the pen first. The colour in
use always shows, even when it isn't one of the first five. The
floating bar grows a bit to fit them, and they take priority over
the title.
The title now sits above a thin divider, and each control sits in a
soft sunken panel with its label and value above it. The Add to pen
box button uses the accent colour.
Having all the colours and sizes on the bar made it long. By default
the bar now has one colour button and one size button, and each opens
a small strip under it. The colour strip has a custom colour option
and the whole palette. Settings has a "Colours and sizes" choice to
keep them on the bar instead, or turn them off.

The layers panel now closes when you tap outside it, like the other
panes.
@torstfugl
torstfugl force-pushed the feat/bar-quick-colours branch from cfa7112 to dcce220 Compare November 6, 2026 01:06
@torstfugl
torstfugl changed the base branch from feat/tool-cards to main November 6, 2026 01:06
@torstfugl
torstfugl merged commit 9cb3e13 into main Nov 6, 2026
4 of 8 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