Skip to content

Commit

Permalink
Update textStyle.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinZiabek authored Nov 21, 2024
1 parent 9f726c8 commit fa9b430
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions native/src/text/textStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ QUEST_API skia::textlayout::TextStyle *text_style_create(TextStyleConfiguration
textStyle->setDecorationMode(configuration.decorationMode);
textStyle->setDecorationStyle(configuration.decorationStyle);
textStyle->setDecorationThicknessMultiplier(configuration.decorationThickness);
textStyle->setDecorationMode(skia::textlayout::kGaps);

// when lineHeight is 0, use the default line height from the font metrics
if (configuration.lineHeight != 0) {
Expand All @@ -99,4 +98,4 @@ QUEST_API void text_style_delete(skia::textlayout::TextStyle *textStyle) {
delete textStyle;
}

}
}

0 comments on commit fa9b430

Please # to comment.