openpencil/crates/op-host-native
Fini 6dabb73f22 fix(editor): size TopBar agent chip hit area to painted width
The chip's clickable region used a 12px/char estimate plus 16px slop, so empty space left of a narrow status label (in the file-name gap) still opened agent settings. The desktop host now measures the chip text via its shared measure-only backend and feeds the width back through TopBar::chip_text_w; hit_test uses it and drops the slop so the target matches the painted chip. The wasm build falls back to a ~7px/char estimate. Regression test added.
2026-06-17 00:14:44 +08:00
..
examples feat(desktop): adopt the casement winit fork 2026-05-18 21:45:09 +08:00
notes refactor(rust): rename native + desktop hosts to op-host-* crates 2026-05-16 23:49:58 +08:00
src fix(editor): size TopBar agent chip hit area to painted width 2026-06-17 00:14:44 +08:00
tests feat(ai): polish rust design agent workflow 2026-06-15 21:19:18 +08:00
Cargo.toml feat(editor): widget design-canvas visuals + jian-runtime preview mode 2026-06-14 23:46:58 +08:00