fix hairpin text alignment
This commit is contained in:
parent
db751e93ea
commit
9f6355ecbb
1 changed files with 5 additions and 0 deletions
|
@ -447,6 +447,8 @@ Hairpin::Hairpin(Score* s)
|
||||||
{
|
{
|
||||||
_hairpinType = HairpinType::CRESC_HAIRPIN;
|
_hairpinType = HairpinType::CRESC_HAIRPIN;
|
||||||
initSubStyle(SubStyleId::HAIRPIN);
|
initSubStyle(SubStyleId::HAIRPIN);
|
||||||
|
resetProperty(Pid::BEGIN_TEXT_PLACE);
|
||||||
|
|
||||||
_hairpinCircledTip = false;
|
_hairpinCircledTip = false;
|
||||||
_veloChange = 0;
|
_veloChange = 0;
|
||||||
_dynRange = Dynamic::Range::PART;
|
_dynRange = Dynamic::Range::PART;
|
||||||
|
@ -671,6 +673,9 @@ QVariant Hairpin::propertyDefault(Pid id) const
|
||||||
case Pid::CONTINUE_TEXT:
|
case Pid::CONTINUE_TEXT:
|
||||||
return QString("");
|
return QString("");
|
||||||
|
|
||||||
|
case Pid::BEGIN_TEXT_PLACE:
|
||||||
|
return int(PlaceText::LEFT);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return TextLineBase::propertyDefault(id);
|
return TextLineBase::propertyDefault(id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue