Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni committed Oct 2, 2024
1 parent 16e4e04 commit 4f95bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/egui/src/widgets/text_edit/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ impl<'t> TextEdit<'t> {
self
}

/// Set the background color of the [`TextEdit`].
/// Set the background color of the [`TextEdit`]. The default is [`crate::Visuals::extreme_bg_color`].
// TODO: remove this once #3284 is implemented
#[inline]
pub fn background_color(mut self, color: Color32) -> Self {
self.background_color = Some(color);
Expand Down

0 comments on commit 4f95bc1

Please sign in to comment.