From 05ddf3b60d68b70afce5ff79992e725267bdca46 Mon Sep 17 00:00:00 2001 From: Steven Weber Date: Fri, 27 May 2016 14:41:43 -0700 Subject: [PATCH] Add the non-default property to the KeySignature grob --- lily/key-engraver.cc | 1 + lily/key-signature-interface.cc | 1 + scm/define-grob-properties.scm | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lily/key-engraver.cc b/lily/key-engraver.cc index 8c907dc7cc..115902e89d 100644 --- a/lily/key-engraver.cc +++ b/lily/key-engraver.cc @@ -117,6 +117,7 @@ Key_engraver::create_key (bool is_default) { SCM visibility = get_property ("explicitKeySignatureVisibility"); item_->set_property ("break-visibility", visibility); + item_->set_property ("non-default", SCM_BOOL_T); } } diff --git a/lily/key-signature-interface.cc b/lily/key-signature-interface.cc index 3249a736c3..79e2bd9948 100644 --- a/lily/key-signature-interface.cc +++ b/lily/key-signature-interface.cc @@ -136,4 +136,5 @@ ADD_INTERFACE (Key_signature_interface, "sharp-positions " "padding " "padding-pairs " + "non-default " ); diff --git a/scm/define-grob-properties.scm b/scm/define-grob-properties.scm index 60b9d5b000..cb9103a6fc 100644 --- a/scm/define-grob-properties.scm +++ b/scm/define-grob-properties.scm @@ -675,7 +675,7 @@ object.") get stems extending to the middle staff line.") (non-break-align-symbols ,list? "A list of symbols that determine which NON-break-aligned interfaces to align this to.") - (non-default ,boolean? "Set for manually specified clefs.") + (non-default ,boolean? "Set for manually specified clefs and keys.") (non-musical ,boolean? "True if the grob belongs to a @code{NonMusicalPaperColumn}.") (nonstaff-nonstaff-spacing ,list? "The spacing alist -- 2.39.2