Added ghost elements to avoid focusing on them

This commit is contained in:
2025-08-09 02:27:16 +02:00
parent c8ebe36d78
commit 3520369e35
7 changed files with 75 additions and 11 deletions
+8
View File
@@ -78,6 +78,10 @@ impl Element for FlexRow {
element.inject(|w| w.component(NoRenderRoot));
}
fn is_ghost(&mut self) -> bool {
true
}
fn as_any(&self) -> &dyn std::any::Any {
self
}
@@ -123,6 +127,10 @@ impl Element for FlexCol {
element.inject(|w| w.component(NoRenderRoot));
}
fn is_ghost(&mut self) -> bool {
true
}
fn as_any(&self) -> &dyn std::any::Any {
self
}