From b708545b9696480e26f63544acbb8d4efc24d1b6 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Fri, 10 Sep 2021 11:02:35 +0200 Subject: [PATCH] SdfTerm: remove outdated lines --- sdf_editor/src/main.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sdf_editor/src/main.rs b/sdf_editor/src/main.rs index 65b80a9..e773d58 100644 --- a/sdf_editor/src/main.rs +++ b/sdf_editor/src/main.rs @@ -197,14 +197,7 @@ impl SdfTerm { } else { 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;