Fix typo
Semántico sayk'uy · 1
src/algo.rs
- ukhunpi t'ikrakurqan fn compute_internal
1 qillqakuna · +1 −1
- src/algo.rs +1 −1
diff --git a/src/algo.rs b/src/algo.rs
index 987f8de4a..4fc059131 100644
--- a/src/algo.rs
+++ b/src/algo.rs
@@ -437,7 +437,7 @@ fn compute_internal(node: &style::Node, main: SizeConstraint, cross: SizeConstra
if total_violation > 0.0 {
for child in &mut unfrozen {
- child.frozen = child.violation > 0.0;
+ child.frozen = child.violation < 0.0;
}
} else if total_violation < 0.0 {
for child in &mut unfrozen {