Skip to content

Grid override: wait for typing, show pixels, scale by squares - #10

Merged
scooper4711 merged 3 commits into
mainfrom
feat/scale-entry
Oct 19, 2026
Merged

scooper4711 merged 3 commits into
mainfrom
feat/scale-entry

Conversation

@scooper4711

Copy link
Copy Markdown
Owner

Summary

  • Typing a grid size no longer recalculates the pages on every keystroke. The fields commit after a 0.6 s pause or on Return, so 150 isn't tried at 1 and 15.
  • The Scale section shows the map's size in pixels.
  • The scale can also be entered as the number of 1-inch squares across or down.

Testing

  • make lint: clean
  • make coverage: 62 tests pass; MapsmithCore 98.3% lines, 89.9% regions (threshold 80%)
  • The typing pause needs a manual try in the app.

Closes #6

Grid size fields now commit after a 0.6 s pause or on Return, so typing
150 no longer recalculates pages at 1 and 15 along the way.

The Scale section shows the map's size in pixels, and the scale can be
entered as the number of 1-inch squares across or down.
@scooper4711
scooper4711 merged commit 3dba5f0 into main Oct 19, 2026
2 checks passed
@scooper4711
scooper4711 deleted the feat/scale-entry branch October 19, 2026 10:43
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.

Grid override: wait before recalculating, show pixels, scale by squares

1 participant