small change

This commit is contained in:
2024-11-21 19:53:47 +01:00
parent 1f4ac1b14f
commit ec4b42e978
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -22,5 +22,5 @@ crossterm = "0.28.1"
regex = "1.11.1"
lazy_static = "1.4"
paste = "1.0.15"
osui-element = "0.1.0"
osui-element = "0.1.1"
dyn-clone = "1.0.17"
+1
View File
@@ -93,6 +93,7 @@ pub trait ElementCore: Send + Sync {
fn get_element_by_id(&mut self, id: &str) -> Option<&mut Element>;
fn get_child(&mut self) -> Option<&mut Element>;
fn set_styling(&mut self, styling: &HashMap<crate::ui::StyleName, crate::ui::Style>);
fn type_id(&self) -> std::any::TypeId;
}
pub trait ElementWidget: ElementCore + std::fmt::Debug {