feat(ui): add measured level buttons and suspend modal hosts during scene editing

This commit is contained in:
Codex
2026-11-04 17:13:43 +03:00
parent bbbfa8912f
commit 8ff33a6a17
11 changed files with 130 additions and 14 deletions
+5
View File
@@ -151,3 +151,8 @@ Turning the free mode off returns the same contents to the normal centered size
Drag a tool header to any of four outer edges to create a full-side area; drop over another tool to split beside it. Drop in the primary center to detach. An exact destination preview is shown only during placement. A 24 px outer zone wins over panel targets; broader magnets reach 160 px horizontally / 96 px vertically, capped at 16% of the workspace. The center of a tool chooses its nearest side, never swaps it with the primary. Split minima protect content; small viewports scroll the bounded layout. Invisible floating edges resize, and only the cursor changes.
Header Enter/Space begins keyboard docking, arrows choose an edge, Shift+arrows choose the whole workspace, Tab selects a tool, Home selects floating, Enter commits and Escape cancels. Floating headers also accept arrows to move and Shift+arrows to resize. Pointer cancellation and Escape restore the uncommitted layout. Automatic viewport fitting does not overwrite stored rectangles. The living catalog includes the same workspace with a fixed scene, outliner and material palette.
When an EditorWorkspace detaches from a Window, the owning overlay is suspended
without unmounting its children. Its backdrop and focus trap are inactive until
the editor returns. Escape/Tab belong to the focused dialog, so nested settings
close without also closing the battery/detail window.