SdfTerm: remove outdated lines
This commit is contained in:
parent
9633986f6c
commit
b708545b96
1 changed files with 0 additions and 7 deletions
|
@ -197,14 +197,7 @@ impl SdfTerm {
|
||||||
} else {
|
} else {
|
||||||
self.fg_layers.get_mut(pt).unwrap().0 = false;
|
self.fg_layers.get_mut(pt).unwrap().0 = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let has_bg = atom.style.bg_color.is_some();
|
|
||||||
let has_fg = atom.c.unwrap_or(' ') != ' ';
|
|
||||||
|
|
||||||
self.bg_layers.get_mut(pt).unwrap().0 = has_bg;
|
|
||||||
self.fg_layers.get_mut(pt).unwrap().0 = has_fg;
|
|
||||||
} else {
|
} else {
|
||||||
self.bg_layers.get_mut(pt).unwrap().0 = false;
|
self.bg_layers.get_mut(pt).unwrap().0 = false;
|
||||||
self.fg_layers.get_mut(pt).unwrap().0 = false;
|
self.fg_layers.get_mut(pt).unwrap().0 = false;
|
||||||
|
|
Loading…
Reference in a new issue