move widgets on draw if region size is same
This commit is contained in:
1 parent
5f2dffc189
commit
95f049acb4
13 files changed
+204
-176
No files matched your search
@@ -10,6 +10,7 @@ pub trait UiModule: Any {
|
||||
fn on_draw(&mut self, inst: &WidgetInstance) {}
|
||||
fn on_undraw(&mut self, inst: &WidgetInstance) {}
|
||||
fn on_remove(&mut self, id: &Id) {}
|
||||
fn on_move(&mut self, inst: &WidgetInstance) {}
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
|
||||
Reference in new issue
Block a user