mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
Merge main with the landed docking test lint repair
This commit is contained in:
commit
bc331b1b1f
1 file changed
+1
-2
@@ -1121,8 +1121,7 @@ fn a_group_dragged_out_of_the_icon_column_floats_expanded_and_its_tabs_switch()
|
||||
.filter(|(_, node)| node.label() == Some("Move tab group"))
|
||||
.filter_map(|(_, node)| node.bounds())
|
||||
.map(|b| Rect::from_min_max(pos2(b.x0 as f32, b.y0 as f32), pos2(b.x1 as f32, b.y1 as f32)))
|
||||
.filter(|grip| (grip.center().y - tab.center().y).abs() < 20.0)
|
||||
.last()
|
||||
.rfind(|grip| (grip.center().y - tab.center().y).abs() < 20.0)
|
||||
.expect("the flyout's grip");
|
||||
h.drag(grip.center(), h.canvas().center());
|
||||
h.frames(2);
|
||||
|
||||
Reference in new issue
Block a user