From 844432743bc1f757de2ceddcebd84b189b964116 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 4 Dec 2024 15:16:38 +0100 Subject: [PATCH] update docstring --- crates/egui/src/widgets/button.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/egui/src/widgets/button.rs b/crates/egui/src/widgets/button.rs index bd3ad3d86dc..bfcd656723c 100644 --- a/crates/egui/src/widgets/button.rs +++ b/crates/egui/src/widgets/button.rs @@ -161,6 +161,9 @@ impl<'a> Button<'a> { /// If true, the tint of the image is the same as the text color. /// /// This makes sense for images that are white, that should have the same color as the text color. + /// This will also make the icon color depend on hover state. + /// + /// Default: `false`. #[inline] pub fn image_tint_follows_text_color(mut self, image_tint_follows_text_color: bool) -> Self { self.image_tint_follows_text_color = image_tint_follows_text_color;