rect fn
This commit is contained in:
@@ -37,3 +37,7 @@ impl Widget for Rect {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
pub fn rect(color: UiColor) -> Rect {
|
||||
Rect::new(color)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user