rect fn
This commit is contained in:
1 parent
3df76d926c
commit
55bee4b25e
2 files changed
+23
-20
No files matched your search
@@ -37,3 +37,7 @@ impl Widget for Rect {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
pub fn rect(color: UiColor) -> Rect {
|
||||
Rect::new(color)
|
||||
}
|
||||
Reference in new issue
Block a user