This commit is contained in:
2025-08-28 22:49:58 -04:00
parent 3df76d926c
commit 55bee4b25e
2 changed files with 23 additions and 20 deletions

View File

@@ -37,3 +37,7 @@ impl Widget for Rect {
});
}
}
pub fn rect(color: UiColor) -> Rect {
Rect::new(color)
}