]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3057: misbehavior of \deadNotesOn et al at start of music
authorDavid Kastrup <dak@gnu.org>
Wed, 20 May 2015 15:31:32 +0000 (17:31 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 25 May 2015 13:14:00 +0000 (15:14 +0200)
commitdda2d06bc6aba17049c16c3c814d43d097b48f67
tree24be771de08cd7e763293fc8b584b6798acf9218
parent04c5cece95672044388052de186b21674f4bb0dc
Issue 3057: misbehavior of \deadNotesOn et al at start of music

User-level commands that do not move to a particular context will tend
to be applied at Bottom context when following any notes or similar
events, but at arbitrary level when being at the start of music.  That's
a bad idea.  This patch moves the head styling overrides to Bottom
level.  While this means that

    \new Staff { \deadNotesOn ...

will only affect the default Voice instead of the whole Staff, one can
still get per-Staff behavior with

    \new Staff \with { \deadNotesOn } { ...

so no functionality is really lost here.
ly/property-init.ly