1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Fix typo in ui.rs (waker -> weaker) (#1586)

This commit is contained in:
Nigecat
2022-05-06 18:36:49 +10:00
committed by GitHub
parent fe6e1ce28f
commit 87ca29173d

View File

@@ -1251,7 +1251,7 @@ impl Ui {
Label::new(text.into().strong()).ui(self) Label::new(text.into().strong()).ui(self)
} }
/// Show text that is waker (fainter color). /// Show text that is weaker (fainter color).
/// ///
/// Shortcut for `ui.label(RichText::new(text).weak())` /// Shortcut for `ui.label(RichText::new(text).weak())`
pub fn weak(&mut self, text: impl Into<RichText>) -> Response { pub fn weak(&mut self, text: impl Into<RichText>) -> Response {