Flex layout modifiers wasm implementation

*  Flex layout modifiers wasm implementation

*  Flex auto modifiers propagation
This commit is contained in:
Alonso Torres 2025-03-17 10:46:32 +01:00 committed by GitHub
parent fa9d8a9b15
commit fa0da3a695
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 1400 additions and 219 deletions

View file

@ -0,0 +1,15 @@
use crate::math::Bounds;
use crate::shapes::{GridData, LayoutData, Modifier, Shape};
use std::collections::{HashMap, VecDeque};
use uuid::Uuid;
pub fn reflow_grid_layout(
_shape: &Shape,
_layout_data: &LayoutData,
_grid_data: &GridData,
_shapes: &HashMap<Uuid, Shape>,
_bounds: &HashMap<Uuid, Bounds>,
) -> VecDeque<Modifier> {
// TODO
VecDeque::new()
}