Volta bracket length with grace note

Knute Snortum <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CALmeJxSizPQQE5KKs9YJG6YBDXNyt7E9zLw1dpVsVBJDKpNonw@mail.gmail.com>
Hi everyone,

I've run into a new (to me) twist on issue #34.  If you try to control the
volta bracket length and the next measure contains a grace note, the volta
bracket covers that grace note.  That is, it doesn't stop at the end of the
measure.  Most issue #34 problems I know how to solve but this one is
illuding me.

Here is a MWE and I've attached a picture of its output.

%%% Start
\version "2.26.0"

\relative {
  \repeat volta 2 {
    c'1
    \alternative {
      { c1 }
      {
        \override Score.VoltaBracket.musical-length = \musicLength 1
        c1
        \grace { c8 } c1
      }
    }
  }
}
%%% End


--
Knute Snortum
volta-bracket-length.png (image/png, 25.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.