Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2334)

Unified Diff: scm/translation-functions.scm

Issue 325070043: Centering bass figures on whole notes and longer
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scm/translation-functions.scm
diff --git a/scm/translation-functions.scm b/scm/translation-functions.scm
index 0ed0deff0a24817edc4f53b42fb902313f0e75bc..cd78d83845e4cb356a7f3fc8d27d81976b01e1ea 100644
--- a/scm/translation-functions.scm
+++ b/scm/translation-functions.scm
@@ -184,13 +184,10 @@ way the transposition number is displayed."
(set! alt-markup #f)))
- ;; hmm, how to get figures centered between note, and
- ;; lone accidentals too?
-
- ;; (if (markup? fig-markup)
- ;; (set!
- ;; fig-markup (markup #:translate (cons 1.0 0)
- ;; #:center-align fig-markup)))
+ (if (and (>= 0 (ly:duration-log (ly:event-property event 'duration))) (markup? fig-markup))
+ (set!
+ fig-markup (markup #:translate (cons 1.0 0)
+ #:center-align fig-markup)))
(if alt-markup
(set! fig-markup
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b