git.lucas.co / cce-gallery
widget gallery and compositor test bench

commitbfa2993868a20adf62e1b2d2406bc266bbf46f4c
parentd53d0340dd
authorLucas Galante <[email protected]>
date2026-07-12 16:50
refactor: drop write-only ScrollBox.children push (cce-ui 6bc slice 3)

 src/ti_widgets.rs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/ti_widgets.rs b/src/ti_widgets.rs
index 06d6aa1..55bf32d 100644
--- a/src/ti_widgets.rs
+++ b/src/ti_widgets.rs
@@ -40,7 +40,6 @@ impl ControlPanel {
 
     pub fn add_child(&mut self, child: *mut (dyn Element + 'static)) {
         self.children.push(child);
-        self.scroll_box.children.push(child);
     }
 
     /// The laid-out rect, mirrored from the adapter by `Layout::rect_assigned`.