Fix typo
Semantic delta · 1
src/algo.rs
- body changed fn compute_internal
1 files · +2 −2
- src/algo.rs +2 −2
diff --git a/src/algo.rs b/src/algo.rs
index 99cdad1c5..a4d02f270 100644
--- a/src/algo.rs
+++ b/src/algo.rs
@@ -1192,10 +1192,10 @@ fn compute_internal(
if node.flex_direction.is_row() {
Number::from_f32(container_main_size)
} else {
- Number::from_f32(container_main_size)
+ Number::from_f32(container_cross_size)
},
if node.flex_direction.is_row() {
- Number::from_f32(container_main_size)
+ Number::from_f32(container_cross_size)
} else {
Number::from_f32(container_main_size)
},