mirror of
https://github.com/penpot/penpot.git
synced 2025-07-18 07:27:13 +02:00
✨ Modifiers grid multi-span
This commit is contained in:
parent
87650de9bc
commit
a59014cad0
4 changed files with 373 additions and 203 deletions
|
@ -255,8 +255,13 @@ pub fn propagate_modifiers(state: &State, modifiers: Vec<TransformEntry>) -> Vec
|
|||
}
|
||||
|
||||
if let Some(Layout::GridLayout(layout_data, grid_data)) = &frame_data.layout {
|
||||
let mut children =
|
||||
grid_layout::reflow_grid_layout(shape, layout_data, grid_data, shapes, &bounds);
|
||||
let mut children = grid_layout::reflow_grid_layout(
|
||||
shape,
|
||||
layout_data,
|
||||
grid_data,
|
||||
shapes,
|
||||
&mut bounds,
|
||||
);
|
||||
entries.append(&mut children);
|
||||
}
|
||||
reflown.insert(*id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue