From 5c811c60fefca5373f89c2e8ba4917de741c8951 Mon Sep 17 00:00:00 2001 From: Thomas Churchman Date: Fri, 29 Nov 2024 10:56:32 +0100 Subject: [PATCH] Underline works again --- masonry/src/text/editor.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/masonry/src/text/editor.rs b/masonry/src/text/editor.rs index f348740ea..eb0c33dc6 100644 --- a/masonry/src/text/editor.rs +++ b/masonry/src/text/editor.rs @@ -804,11 +804,6 @@ where builder.push_default(prop.to_owned()); } if let Some(ref preedit_range) = self.compose { - // TODO: underline currently doesn't show up, maybe the brush is invisible? - builder.push( - parley::style::StyleProperty::UnderlineBrush(Some(T::default())), - preedit_range.clone(), - ); builder.push( parley::style::StyleProperty::Underline(true), preedit_range.clone(),