mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-29 02:18:40 -06:00
uwu
This commit is contained in:
parent
3f8dea24be
commit
84fdd9d1ae
|
@ -59,7 +59,9 @@ impl FrameRect {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new [`FrameRect`] with the given image
|
/// Create a new [`FrameRect`] with the given image\
|
||||||
|
///
|
||||||
|
/// Color will be set to [`WHITE`](crate::color::WHITE) to ensure the image is visible
|
||||||
pub fn image(image: ImageHandle) -> Self {
|
pub fn image(image: ImageHandle) -> Self {
|
||||||
Self {
|
Self {
|
||||||
color: color::WHITE.into(),
|
color: color::WHITE.into(),
|
||||||
|
|
Loading…
Reference in a new issue