tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 9TOML 3CSS 1345 Sutichaykuna

cleanup: remove comments

5b0290a83c19540e15d53629add7c976e6ad4719 · ruwaq Jonathan Kelley · (4 wata ñawpaq) · tayta d476ced5d · kay commitpi sach'ata qhaway

Semántico sayk'uy

Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.

1 qillqakuna · +1 −2

diff --git a/src/algo.rs b/src/algo.rs
index 15ee8b16f..758a3a862 100644
--- a/src/algo.rs
+++ b/src/algo.rs
@@ -105,13 +105,12 @@ impl Forest {
         let abs_x = abs_x + layout.location.x;
         let abs_y = abs_y + layout.location.y;
 
-        // layout.location.x = sys::round(layout.location.x);
-        // layout.location.y = sys::round(layout.location.y);
         layout.location.x = sys::round(abs_x);
         layout.location.y = sys::round(abs_y);
 
         layout.size.width = sys::round(abs_x + layout.size.width) - sys::round(abs_x);
         layout.size.height = sys::round(abs_y + layout.size.height) - sys::round(abs_y);
+        
         for child in &children[root] {
             Self::round_layout(nodes, children, *child, abs_x, abs_y);
         }