fix hairpin text alignment

This commit is contained in:
wschweer 2018-04-27 14:08:23 +02:00
parent db751e93ea
commit 9f6355ecbb

View file

@ -447,6 +447,8 @@ Hairpin::Hairpin(Score* s)
{
_hairpinType = HairpinType::CRESC_HAIRPIN;
initSubStyle(SubStyleId::HAIRPIN);
resetProperty(Pid::BEGIN_TEXT_PLACE);
_hairpinCircledTip = false;
_veloChange = 0;
_dynRange = Dynamic::Range::PART;
@ -671,6 +673,9 @@ QVariant Hairpin::propertyDefault(Pid id) const
case Pid::CONTINUE_TEXT:
return QString("");
case Pid::BEGIN_TEXT_PLACE:
return int(PlaceText::LEFT);
default:
return TextLineBase::propertyDefault(id);
}