From f60e39b4c3228ffa933b5d6911782d3964e7db26 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 2 Jun 2022 21:06:19 -0700 Subject: [PATCH] gui: speculative fix for #2068 refs: https://github.com/wez/wezterm/issues/2068 --- wezterm-gui/src/quad.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wezterm-gui/src/quad.rs b/wezterm-gui/src/quad.rs index d898b9877..d63d47ca9 100644 --- a/wezterm-gui/src/quad.rs +++ b/wezterm-gui/src/quad.rs @@ -97,8 +97,10 @@ impl<'a> Quad<'a> { for v in self.vert.iter_mut() { v.fg_color = color.tuple(); } + self.set_alt_color_and_mix_value(color, 0.); } + /// Must be called after set_fg_color pub fn set_alt_color_and_mix_value(&mut self, color: LinearRgba, mix_value: f32) { for v in self.vert.iter_mut() { v.alt_color = color.tuple();