SdfTerm: remove outdated lines

This commit is contained in:
Michael Sippel 2021-09-10 11:02:35 +02:00
parent 9633986f6c
commit b708545b96
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -198,13 +198,6 @@ impl SdfTerm {
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 {
self.bg_layers.get_mut(pt).unwrap().0 = false;
self.fg_layers.get_mut(pt).unwrap().0 = false;