gpui: Impl Default for TextRun (#41084)
Release Notes: - N/A When I was implementing Input, I often used `TextRun`, but `background`, `underline` and `strikethrough` were often not used. So make change to simplify it.
This commit is contained in:
@@ -101,9 +101,7 @@ impl TableView {
|
||||
len: 0,
|
||||
font: text_font,
|
||||
color: text_style.color,
|
||||
background_color: None,
|
||||
underline: None,
|
||||
strikethrough: None,
|
||||
..Default::default()
|
||||
}];
|
||||
|
||||
for field in table.schema.fields.iter() {
|
||||
|
||||
Reference in New Issue
Block a user