mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
Fix style overwriting in table rows with multiple cells (#7281)
This commit is contained in:
parent
27891cdc8d
commit
b0129b552d
@ -450,11 +450,11 @@ pub fn render_table(
|
|||||||
} else {
|
} else {
|
||||||
col
|
col
|
||||||
};
|
};
|
||||||
let mut col = table_row_start_col;
|
|
||||||
for (width, cell) in columns_widths.iter().zip(table_row.cells.iter()) {
|
|
||||||
if is_selected {
|
if is_selected {
|
||||||
buf.set_style(table_row_area, self.highlight_style);
|
buf.set_style(table_row_area, self.highlight_style);
|
||||||
}
|
}
|
||||||
|
let mut col = table_row_start_col;
|
||||||
|
for (width, cell) in columns_widths.iter().zip(table_row.cells.iter()) {
|
||||||
render_cell(
|
render_cell(
|
||||||
buf,
|
buf,
|
||||||
cell,
|
cell,
|
||||||
|
Loading…
Reference in New Issue
Block a user