🐛 Fix visual feedback on padding/margin/gaps modified

This commit is contained in:
alonso.torres
2025-12-01 16:26:47 +01:00
parent 359379be09
commit 721b337511
6 changed files with 242 additions and 142 deletions

View File

@@ -290,7 +290,7 @@ fn propagate_reflow(
let mut skip_reflow = false;
if shape.is_layout_horizontal_fill() || shape.is_layout_vertical_fill() {
if let Some(parent_id) = shape.parent_id {
if !reflown.contains(&parent_id) {
if parent_id != Uuid::nil() && !reflown.contains(&parent_id) {
// If this is a fill layout but the parent has not been reflown yet
// we wait for the next iteration for reflow
skip_reflow = true;