Skip to content

Make Auto-fit text a per-screen setting#75

Merged
flocom merged 1 commit into
mainfrom
claude/loving-allen-3gs665
Jun 14, 2026
Merged

Make Auto-fit text a per-screen setting#75
flocom merged 1 commit into
mainfrom
claude/loving-allen-3gs665

Conversation

@flocom

@flocom flocom commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Auto-fit text was a single global toggle (persisted in localStorage). It is now stored per screenshot (text.autoFit).

Changes

  • Each screen has its own auto-fit flag, edited via the Text-tab toggle, which now reflects/writes the currently selected screen.
  • Renderer reads txt.autoFit instead of the global state.autoFitText.
  • New screens (and thus new projects) default to auto-fit on.
  • Existing projects migrate from the legacy global flag, so projects that had auto-fit enabled keep it on for every screen.
  • All-languages view badge and overlap status use the per-screen flag.

Verification

  • node --check passes on app.js and appstore-features.js.
  • Dev server serves index.html (HTTP 200).

https://claude.ai/code/session_012x9ZSgPU3ehv4FfvxbBP4p


Generated by Claude Code

Auto-fit text was a single global toggle (persisted in localStorage).
It is now stored per screenshot (text.autoFit):

- Each screen has its own autoFit flag, edited via the Text-tab toggle
  which now reflects/writes the currently selected screen.
- Renderer reads txt.autoFit instead of the global state.autoFitText.
- New screens (and thus new projects) default to autoFit on.
- Existing projects migrate from the legacy global flag, so projects
  that had auto-fit enabled keep it on for every screen.
- All-languages view badge and overlap status use the per-screen flag.

https://claude.ai/code/session_012x9ZSgPU3ehv4FfvxbBP4p
@flocom
flocom merged commit e450bc8 into main Jun 14, 2026
1 check 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