working center

This commit is contained in:
2025-06-26 02:42:27 -05:00
parent 82b847314e
commit dfb17ab48e
3 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ fn main() {
screen
.draw("Hello, World".to_string())
.component(Transform::new());
.component(Transform::center());
screen.run(&mut events, &mut extensions).unwrap();
}