openpencil/crates/op-host-native/src
Kayshen-X 35ce39634b fix(canvas): preview renders design-canvas geometry with pointer capture
Preview scenes now take paint from the promoted document but GEOMETRY
from the unpromoted layout tree via the design canvas's exact layout
pass — honoring preserve_authored_geometry for Figma imports — so
preview positions match design mode by construction (was: full taffy
re-solve, elements shifted 100+ px on preserve docs, 2 px per promoted
hug widget). Hit-testing maps taps through the deepest painted node's
scene/runtime rect pair with a per-gesture anchor (pointer capture),
so drags never remap through neighbours mid-gesture. Input dispatch
split to preview/input.rs for the 800-line cap.

Pairs with the following device-frame commit (preview/mod.rs already
declares the present module it introduces).
2026-07-11 03:58:16 +08:00
..
backend fix(ci): stabilize native font tests 2026-07-07 23:28:27 +08:00
context fix(native): unblock linux startup — provider GL loader + wayland-dlopen 2026-07-03 00:08:20 +08:00
preview fix(canvas): preview renders design-canvas geometry with pointer capture 2026-07-11 03:58:16 +08:00
widget_host perf(panels): cache chat transcript, layer rows, and panel filters 2026-07-10 22:56:38 +08:00
boolean_ops.rs feat(mcp): expand rust editor mcp surface 2026-06-05 22:19:08 +08:00
canvas_view_stub.rs
lib.rs fix(ci): stabilize native font tests 2026-07-07 23:28:27 +08:00
widget_host.rs perf(panels): cache chat transcript, layer rows, and panel filters 2026-07-10 22:56:38 +08:00