Skip to content

Use TextTag scaling for zoom instead of CSS#226

Merged
jsparber merged 1 commit intop2panda:mainfrom
karlb:karlb/zoom-per-window-via-texttag
Mar 28, 2026
Merged

Use TextTag scaling for zoom instead of CSS#226
jsparber merged 1 commit intop2panda:mainfrom
karlb:karlb/zoom-per-window-via-texttag

Conversation

@karlb
Copy link
Copy Markdown
Contributor

@karlb karlb commented Mar 28, 2026

The CSS was global, causing zomming across mutiple windows and additional weirdness due to cascading when multiple windows add CSS.

Solution: Don't use CSS for zooming, but a single TextTag wrapped around the whole content and set it's scaling to affect the text size.

Closes #178

The CSS was global, causing zomming across mutiple windows and
additional weirdness due to cascading when multiple windows add CSS.

Solution: Don't use CSS for zooming, but a single TextTag wrapped around
the whole content and set it's scaling to affect the text size.

Closes p2panda#178
@karlb karlb force-pushed the karlb/zoom-per-window-via-texttag branch from 04470cf to b22d94a Compare March 28, 2026 14:58
@jsparber
Copy link
Copy Markdown
Collaborator

lgtm, thanks :)

@jsparber jsparber merged commit b4f54bd into p2panda:main Mar 28, 2026
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.

Font size zoom only works in the most recently opened window

2 participants