bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Override Staff.StaffSymbol.color has no effect when first note is grace


From: Florian Grundig
Subject: Override Staff.StaffSymbol.color has no effect when first note is grace note
Date: Wed, 11 Sep 2019 18:18:04 +0200

   Hi all,

   it seems there's an issue when using an
   override of Staff.StaffSymbol.color in combination with a grace note as
   first note in score -> in this case the override seems to be ignored...
   when using no grace at all or at a different position the override
   works as expected:

   lilypond -dbackend=svg test.ly


   test.ly:
   ====
\version "2.19.83"

PartPOneVoiceOne =  \relative e'' {
    \clef "treble" \key bes \major \time 1/4
    % \grace { e8 }  % remove comment and StaffSymbol.color will change unexpect
edly to black - this will not happen then moving the grace note to before a8 ins
tead of f8
    f8
    a8
}

\score {
    << \new PianoStaff
        << \context Staff = "1" <<
                \override Staff.StaffSymbol.color = #red
                \context Voice = "PartPOneVoiceOne" {  \PartPOneVoiceOne }
            >>
        >>
    >>
}




   With kind regards
   Florian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]