From 8cf16c6ecc1b3c785fb70f935f33aa160bc3b6a7 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 7 Sep 2021 11:03:08 +0200 Subject: [PATCH] Use Label's base style `underline` when no highlights are provided --- gpui/src/elements/label.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpui/src/elements/label.rs b/gpui/src/elements/label.rs index 8dbc76a65b..acfbb5abd9 100644 --- a/gpui/src/elements/label.rs +++ b/gpui/src/elements/label.rs @@ -55,7 +55,7 @@ impl Label { RunStyle { font_id, color: self.style.text.color, - underline: false, + underline: self.style.text.underline, } )]; }