Improved ghost with paginator

This commit is contained in:
2025-08-09 02:44:17 +02:00
parent 3520369e35
commit 20a9d2b216
3 changed files with 7 additions and 7 deletions
+4
View File
@@ -75,6 +75,10 @@ impl Element for Paginator {
}
}
fn is_ghost(&mut self) -> bool {
true
}
fn draw_child(&mut self, element: &Arc<Widget>) {
self.children.push(element.clone());
element.inject(|w| w.component(NoRenderRoot));