Stop-hook fix: native over_canvas + apply_wheel + apply_click LayerPanel hit-test all hardcoded LAYER_PANEL_WIDTH for the canvas left edge. When the sidebar was collapsed, paint moved the canvas left to x=0 but input still treated x∈[0,240) as 'over the LayerPanel' — so clicks in that strip resolved to LayerPanel hits (against nothing), wheel zoom anchored off-screen to the left of the cursor, and pan-drag refused to start in that strip. over_canvas now derives both x and y bounds from canvas_region; apply_wheel uses canvas_region for the cursor offset; apply_click short-circuits when sidebar is closed (LayerPanel isn't painted) and lets the empty-canvas branch clear selection + start pan-drag. |
||
|---|---|---|
| .. | ||
| openpencil-app | ||
| openpencil-shell-core | ||
| openpencil-shell-native | ||
| openpencil-shell-web | ||
| pen-codegen | ||
| pen-core | ||
| pen-engine | ||
| pen-figma | ||
| pen-types | ||
| wasm-libc-shim | ||
| CLAUDE.md | ||