feat(ui): remember expanded media geometry independently

This commit is contained in:
Codex
2026-11-17 21:24:09 +03:00
parent 13309f3209
commit bcc121e7b2
6 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -627,4 +627,4 @@ keeps the shared drag handle and activation threshold. The default stays vertica
Для ручки поверх фотографии используйте `DragHandle surface="control"` или `SortableList handleSurface="control"`: видимый круг с общим стеклом внутри `nodedc-viewport-controls`. Bare-ручка остаётся вариантом по умолчанию для обычных строк.
Window `headerLayout="adaptive"` keeps contextual actions on one trailing row. The complete title moves below actions before clipping. The measured action width sets the minimum for all resize edges, keyboard resizing and restored layout; only an undersized device viewport allows horizontal action scrolling. `expanded` temporarily fits the window to the available viewport while retaining modal/floating presentation. Users can resize the expanded window; restoration returns the previous geometry without persisting the temporary rectangle.
Window `headerLayout="adaptive"` keeps contextual actions on one trailing row. The complete title moves below actions before clipping. The measured action width sets the minimum for all resize edges, keyboard resizing and restored layout; only an undersized device viewport allows horizontal action scrolling. `expanded` temporarily opens media at a moderate viewport-fitted size while retaining modal/floating presentation. Users can resize the expanded window; restoration returns the previous geometry without changing the regular rectangle. `expandedRect` / `onExpandedRectCommit` persist the user’s separate expanded position and dimensions; first expansion uses a moderate 960×800 ceiling within 80%/82% of the viewport.