Route canvas cursor visibility through app core

This commit is contained in:
2026-06-05 01:39:36 +02:00
parent e95861e9b7
commit f42a6540be
8 changed files with 447 additions and 23 deletions

View File

@@ -579,7 +579,11 @@ touch command handling now consumes
`pp_app_core` canvas-hotkey planning for E draw/erase, Ctrl+Z, Ctrl+Shift+Z,
Ctrl+S, Ctrl+Shift+S, Tab UI toggle, brush-size brackets, Android back, Alt
cursor reveal, and two-finger undo before the shared bridge delegates to legacy
UI/canvas/history adapters.
UI/canvas/history adapters. `pano_cli plan-canvas-cursor` exposes the
canvas-specific cursor visibility policy for draw/erase versus non-paint
modes, small-brush thresholds, active-stroke hiding, and modifier/tool forced
visibility; live `NodeCanvas::update_cursor()` consumes that planner before
retained `App::show_cursor`/`App::hide_cursor` platform dispatch.
`pano_cli plan-canvas-clear` exposes app-core planning for the main toolbar
clear-current-layer command, including clear color validation, no-canvas
handling, undo recording intent, and dirty-state intent; live toolbar execution