]> git.cworth.org Git - scherzo/commitdiff
Add a little space between key signature and notes.
authorCarl Worth <cworth@cworth.org>
Tue, 1 Oct 2013 17:41:32 +0000 (10:41 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 3 Oct 2013 17:50:55 +0000 (10:50 -0700)
Otherwise, it was hard to tell which accidentals belonged to notes,
and which to accidentals.

score.c

diff --git a/score.c b/score.c
index 690a9d27f3b30437a07efc76047a7c6d6e620582..f8373ab1ad1c949d7635d66693aa4c5f8494e0a4 100644 (file)
--- a/score.c
+++ b/score.c
@@ -546,6 +546,9 @@ _draw_staff (score_t *score, cairo_t *cr,
     /* Draw the key signature */
     _draw_key_signature (score, cr, staff);
 
+#define KEY_SIGNATURE_NOTE_SPACING (score->space_height)
+    cairo_translate (cr, ceil (KEY_SIGNATURE_NOTE_SPACING), 0);
+
     /* Draw chord symbols */
     cairo_save (cr);
     {