refactor: code format

This commit is contained in:
kradchen
2025-06-05 14:43:13 +08:00
parent 55dfd70e04
commit 938759f2e3
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ RulerAnnotationActor::RulerAnnotationActor() {
textProperty->SetFontFile(FONT_FILE_PATH); textProperty->SetFontFile(FONT_FILE_PATH);
} }
else{ else{
textProperty->SetFontFamilyToArial(); textProperty->SetFontFamilyToArial();
textProperty->SetBold(1); textProperty->SetBold(1);
} }
textProperty->SetFontSize(16); textProperty->SetFontSize(16);

View File

@@ -56,7 +56,7 @@ void TextAnnotationActor::ResetTextProp() {
mTextProperty->SetFontFile(FONT_FILE_PATH); mTextProperty->SetFontFile(FONT_FILE_PATH);
} }
else{ else{
mTextProperty->SetFontFamilyToArial(); mTextProperty->SetFontFamilyToArial();
} }
mTextProperty->SetFontSize(16); mTextProperty->SetFontSize(16);