From: Graham Percival Date: Sun, 26 Sep 2004 18:19:47 +0000 (+0000) Subject: Fix bug that displayed ledger lines while \hideNotes. X-Git-Tag: release/2.3.19~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d2ee382dc7b0593a7c0bddd81882e3d246f6fcab;p=lilypond.git Fix bug that displayed ledger lines while \hideNotes. --- diff --git a/ChangeLog b/ChangeLog index 533f6c3581..86ceef3cc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-26 Graham Percival + + * ly/property-init.ly: fix bug in displaying ledger lines while + \hideNotes is on. + 2004-09-25 Graham Percival * Documentation/user/notation.itely: more editing. diff --git a/ly/property-init.ly b/ly/property-init.ly index 23149d1365..0aac4d576c 100644 --- a/ly/property-init.ly +++ b/ly/property-init.ly @@ -131,12 +131,13 @@ glissando = #(make-music 'GlissandoEvent) fermataMarkup = \markup { \musicglyph #"scripts-ufermata" } hideNotes =\sequential { - % hide notes, accidentals, etc. - \override Dots #'transparent = ##t - \override NoteHead #'transparent = ##t - \override Stem #'transparent = ##t - \override Beam #'transparent = ##t - \override Accidental #'transparent = ##t + % hide notes, accidentals, etc. + \override Dots #'transparent = ##t + \override NoteHead #'transparent = ##t + \override NoteHead #'no-ledgers = ##t + \override Stem #'transparent = ##t + \override Beam #'transparent = ##t + \override Accidental #'transparent = ##t } @@ -145,6 +146,7 @@ unHideNotes = \sequential { \revert Beam #'transparent \revert Stem #'transparent \revert NoteHead #'transparent + \revert NoteHead #'no-ledgers \revert Dots #'transparent }