Fix typo in ui.rs (waker -> weaker) (#1586)
This commit is contained in:
parent
fe6e1ce28f
commit
87ca29173d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue