mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 06:54:45 +03:00
gui: clarify code, no functional change
This commit is contained in:
parent
f89f2b5248
commit
52f3d6c0e5
@ -2165,7 +2165,7 @@ impl super::TermWindow {
|
||||
|
||||
// and render each of these strips
|
||||
for range in [la, lb, lc, mid, ra, rb, rc] {
|
||||
if range.start == range.end {
|
||||
if range.is_empty() {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -2195,6 +2195,8 @@ impl super::TermWindow {
|
||||
});
|
||||
|
||||
if glyph_color == bg_color {
|
||||
// Essentially invisible: don't render it, as anti-aliasing
|
||||
// can cause a ghostly outline of the invisible glyph to appear.
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user