Repository navigation
Tags
Tags
Render the icon canvases at physical resolution Canvas rasterizes one surface pixel per logical pixel, so the hand-drawn save, open, and search icons were stretched blurry across hidpi screens. Size the canvas by the device pixel ratio, scale the drawing context to match so the icon geometry stays in logical coordinates, and scale the item back down so surface pixels land one to one on screen pixels. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LvUGG3wVWAYErVeamJ61eG
Match Chromium's wheel scroll distance Each wheel notch scrolled three writer-font lines, about 78px, while Chromium covers 120px per notch (three lines of 40px). Use Chromium's distance, scaled with the desktop text size like every other dimension. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Scale text with the desktop text size Omawrite drew every size at a fixed pixel count, so `omarchy display text size` moved the shell, GTK apps, and terminals while the writing area stayed put. Read GNOME's text-scaling-factor from the desktop portal instead — the same value that knob sets, anchored so its 12px default leaves the app at the sizes it was designed around — and watch SettingChanged so the size re-flows without a restart. The factor multiplies the editor font, the footer, the find and replace bar along with the pane that holds it, and the dialog text. The default application font carries it into the Material chrome. Icons keep their fixed size, which is how GTK treats a text-only scaling factor. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JdHx785uZWd4vunmT6Gesh
PreviousNext