From 84fdd9d1ae0e9a54fcf4f549fec98d2d68e888d6 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 24 Mar 2024 19:08:24 +0100 Subject: [PATCH] uwu --- hui/src/frame/rect.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hui/src/frame/rect.rs b/hui/src/frame/rect.rs index 2b1683c..1ae40ad 100644 --- a/hui/src/frame/rect.rs +++ b/hui/src/frame/rect.rs @@ -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 { Self { color: color::WHITE.into(),