widget gallery and compositor test bench
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`.