feat: add selectable() to Text
This commit is contained in:
parent
347d91f7ea
commit
251254ad51
9 changed files with 442 additions and 19 deletions
|
|
@ -179,7 +179,7 @@ where
|
|||
{
|
||||
let color = color.map(Into::into);
|
||||
|
||||
self.style(move |_theme| Style { color })
|
||||
self.style(move |_theme| Style { color, ..Style::default() })
|
||||
}
|
||||
|
||||
/// Sets the default style class of the [`Rich`] text.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue