Skip to content

chore: godemirror v0.16.0, code in gockup's mockups keeps its strokes at any zoom - #1280

Merged
omartelo merged 1 commit into
mainfrom
chore/godemirror-0.16
Dec 4, 2026
Merged

omartelo merged 1 commit into
mainfrom
chore/godemirror-0.16

Conversation

@omartelo

@omartelo omartelo commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

gockup's board draws a mockup at any zoom, and the code in it lost strokes off 100%: godemirror's rows are images, sampled with FilterNearest. godemirror v0.16.0 has Scaled for a view drawn under a scale, and the adapter (native/gockup-lich) turns it on for Code and Diff.

The window does not set it, so it draws as before. No changelog entry, as nothing changes for a person using lich.

Local gate: green but for TestTheWheelScrollsThePageByItsCSSPixels (lich-browser), which does not import godemirror and is flaky on main too: run 20 times here, it failed 10 on main and 5 on this branch. Not fixed in this PR.

@omartelo
omartelo merged commit 599f162 into main Dec 4, 2026
8 checks passed
@omartelo
omartelo deleted the chore/godemirror-0.16 branch December 4, 2026 19: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.

1 participant