Skip to content

Commit

Permalink
Underline works again
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Nov 29, 2024
1 parent 260c523 commit 5c811c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions masonry/src/text/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 5c811c6

Please sign in to comment.