mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 06:12:16 +03:00
Re-enable underlining of whitespace
This was a hangover from an earlier iteration and isn't needed any more.
This commit is contained in:
parent
450ed0e82c
commit
9bc0eee1e2
@ -943,12 +943,6 @@ impl<'a> TerminalWindow<'a> {
|
||||
_ => self.palette.resolve(fg_color),
|
||||
}.to_linear_tuple_rgba();
|
||||
|
||||
let glyph_color = match &glyph.texture {
|
||||
&Some(_) => glyph_color,
|
||||
// Whitespace glyph; render with 0 alpha
|
||||
&None => (0.0, 0.0, 0.0, 0.0f32),
|
||||
};
|
||||
|
||||
let left: f32 = glyph.x_offset as f32 + glyph.bearing_x as f32;
|
||||
let top = (self.cell_height as f32 + self.descender as f32) -
|
||||
(glyph.y_offset as f32 + glyph.bearing_y as f32);
|
||||
|
Loading…
Reference in New Issue
Block a user