Skip to content

Improve print-template fills: inverted white-out and OOB borders - #31

Merged
ellmkay merged 1 commit into
mainfrom
feature/print-template-fill-improvements
Sep 25, 2026
Merged

ellmkay merged 1 commit into
mainfrom
feature/print-template-fill-improvements

Conversation

@ellmkay

@ellmkay ellmkay commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Lock ISOM 709 out-of-bounds borders to the course purple at 0.4 mm (Feb 2024 bounding line).
  • Add White-out outside (ink saver) so a polygon/rect punches a hole in an opaque white ring against the map frame; click the white ring to select, the hole passes through.
  • Fix line-width and font-size inputs so digits can be cleared while typing.

Test plan

  • pnpm build
  • pnpm test
  • Integration tests
  • Full pnpm test:e2e (sharded)
  • Docker oxygen-api / oxygen-web rebuilt and started
  • In the layout editor: set a rectangle to out of bounds — border on, colour picker hidden, width 0.4
  • Clear the line-width field and type a new value
  • Set fill to white-out outside, confirm the map is whited out except the shape, click the hole vs the white ring

Made with Cursor

Ink-saver print maps need a hole-in-the-frame white-out, ISOM 709 borders
should stay purple at 0.4 mm, and line-width inputs must stay editable
while clearing digits.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ellmkay
ellmkay merged commit 16b3a36 into main Sep 25, 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.

2 participants