]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / key-engraver.cc
index a35134c165b86ae076b288f541078120d3983de3..b0a87988a4809908419b5d4906a555cc5aa7ce53 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "item.hh"
@@ -106,6 +106,8 @@ Key_engraver::create_key (bool is_default)
     {
       SCM visibility = get_property ("explicitKeySignatureVisibility");
       item_->set_property ("break-visibility", visibility);
+      if (cancellation_)
+       cancellation_->set_property ("break-visibility", visibility);
     }
 }
 
@@ -204,7 +206,18 @@ ADD_TRANSLATOR (Key_engraver,
                /* doc */ "",
                /* create */ "KeySignature",
                /* accept */ "key-change-event",
-               /* read */ "keySignature printKeyCancellation lastKeySignature "
-               "explicitKeySignatureVisibility createKeyOnClefChange "
-               "keyAlterationOrder keySignature",
-               /* write */ "lastKeySignature tonic keySignature");
+               
+               /* read */
+               "createKeyOnClefChange "
+               "explicitKeySignatureVisibility "
+               "keyAlterationOrder "
+               "keySignature "
+               "keySignature "
+               "lastKeySignature "
+               "printKeyCancellation "
+               ,
+               
+               /* write */
+               "keySignature "
+               "lastKeySignature "
+               "tonic ")