feat(ui): refine ribbon and view navigation

This commit is contained in:
Hakan Seven 2026-08-04 18:21:52 +03:00
commit d1f9055901
14 changed files with 466 additions and 116 deletions

View file

@ -1893,8 +1893,12 @@ pub enum Message {
LayerStateEditorFilter(String),
LayerStateEditorSave,
LayerStateEditorCancel,
CursorMoved(Point),
ViewportClick,
/// ViewCube-local cursor movement, tagged with the floating viewport that
/// owned the overlay when the event was produced (`None` = Model layout).
CursorMoved(Point, Option<acadrust::Handle>),
/// ViewCube press with the same owner tag, so a stale overlay event can
/// never fall through and rotate a different camera.
ViewportClick(Option<acadrust::Handle>),
ViewportMove(Point),
ViewportLeftPress,
ViewportLeftRelease,