openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

hairpin-with-text: retain original height setting #154

Closed sincere-music closed 7 years ago

sincere-music commented 7 years ago

Previously, the \hairpinWithText music function always overrode Hairpin.height, reinstating the default value if no text is added inbetween. This overwrites any settings from style sheets, so we change it to only perform the override if necessary.