X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fhorizontal-bracket.cc;h=c4b598761ab52078d853e53d9ad1842078111df7;hb=f9b2c59dd878330905eef9d6c1c7b3729b44aba7;hp=654a1e0015857a41cf59f4213867518ac2f19252;hpb=83698fbcbb98c47e0c892c9c439dff9d819cfbf6;p=lilypond.git diff --git a/lily/horizontal-bracket.cc b/lily/horizontal-bracket.cc index 654a1e0015..c4b598761a 100644 --- a/lily/horizontal-bracket.cc +++ b/lily/horizontal-bracket.cc @@ -57,6 +57,10 @@ Horizontal_bracket::print (SCM smob) Drul_array shorten = robust_scm2interval (me->get_property ("shorten-pair"), Interval (0, 0)); + // Make sure that it points in the correct direction: + Real dir = get_grob_direction (me); + scale_drul (&edge_height, -dir); + Interval empty; Stencil b = Tuplet_bracket::make_bracket (me, Y_AXIS, Offset (ext.length (), 0),