better tick system
This commit is contained in:
+4
-4
@@ -1,9 +1,9 @@
|
||||
use osui::{oml, ui::*, App};
|
||||
use osui::{rsx, ui::*, App};
|
||||
|
||||
fn main() {
|
||||
let mut app_screen = App::new();
|
||||
app_screen.set_component(oml!(
|
||||
button("okay";)
|
||||
));
|
||||
app_screen.set_component(rsx! {
|
||||
button { "test" }
|
||||
});
|
||||
app_screen.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user