[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bending: microtone TabNoteHeaded printed if in a chord
From: |
Federico Bruni |
Subject: |
Re: bending: microtone TabNoteHeaded printed if in a chord |
Date: |
Mon, 20 Jun 2016 20:42:55 +0200 |
Il giorno lun 20 giu 2016 alle 20:28, Federico Bruni
<address@hidden> ha scritto:
If I copy your file to my git repository (to see the differences), I
see a lot of "garbage". Don't know where it comes from...
Would you mind sending a .diff file against the file I sent in this
thread?
I mean, it's just this, right?
It works!
$ git diff
diff --git a/ly/tablature/bending.ily b/ly/tablature/bending.ily
index 41f768a..7814bab 100644
--- a/ly/tablature/bending.ily
+++ b/ly/tablature/bending.ily
@@ -224,7 +224,11 @@ thickness begin-x line-y end-x line-y))))
2)))
(set! begin-x (+ begin-x x-offset))
- (ly:grob-set-property! right-tab-note-head 'transparent
#t)))
+ (for-each
+ (lambda (tab-note-head)
+ (if (grob::has-interface tab-note-head
'tab-note-head-interface)
+ (ly:grob-set-property! tab-note-head 'transparent
#t)))
+ (ly:grob-array->list (ly:grob-object right-bound
'note-heads)))))
;; draw resulting bend arrow
(grob-interpret-markup grob