mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-28 01:11:23 +01:00
resting_placement returned a stored placement that already held a size before applying Overlay::drag_bounds, and the mount showed the layer's body at that rect, so a layer the user resized could end with its title row outside the window under DragBounds::TitleVisible. The keep now applies to a floating layer's stored size and place, before the default-size path, as it already did to a move and to a place the caller gives. Trial: a_resized_layer_keeps_its_title_strip_inside_a_drag_past_the_window_edges in crates/ui-contract/tests/it/body/placement.rs.