refactor: code format
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user