Skip to content

Commit

Permalink
Merge pull request #4880 from systeminit/victor/fix-component-websock…
Browse files Browse the repository at this point in the history
…et-events

fix: Use the correct sizes when set component does not set a size
  • Loading branch information
vbustamante authored Oct 26, 2024
2 parents ea1afdd + 4ef4d33 commit e74486b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub async fn set_component_position(
.or_else(|| geometry.width().map(|v| v.to_string())),
new_geometry
.height
.or_else(|| geometry.width().map(|v| v.to_string())),
.or_else(|| geometry.height().map(|v| v.to_string())),
);
}

Expand Down

0 comments on commit e74486b

Please sign in to comment.