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

Unified Diff: scm/output-lib.scm

Issue 7768043: rewrite Self_alignment_interface
Patch Set: align MMR and perc.rep. stuff using xparents Created 10 years, 11 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 | « scm/define-grobs.scm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scm/output-lib.scm
diff --git a/scm/output-lib.scm b/scm/output-lib.scm
index 4533cf2a965a8c95eb22b3dcf84d21dc2e5ad8f7..1b05a35cca72a84ba491f01aad5688ebe31a9324 100644
--- a/scm/output-lib.scm
+++ b/scm/output-lib.scm
@@ -1125,7 +1125,7 @@ and draws the stencil based on its coordinates.
(ly:grob-property grob 'positioning-done)
(let* ((shift (ly:grob-property grob 'toward-stem-shift 0.0))
(note-head-location
- (ly:self-alignment-interface::centered-on-x-parent grob))
+ (ly:self-alignment-interface::x-align-grob grob))
(note-head-grob (ly:grob-parent grob X))
(stem-grob (ly:grob-object note-head-grob 'stem)))
@@ -1229,7 +1229,7 @@ and draws the stencil based on its coordinates.
(ly:grob-suicide! grob))
(+
- (ly:self-alignment-interface::y-aligned-on-self grob)
+ (ly:self-alignment-interface::y-align-grob grob)
(interval-center extent))))
« no previous file with comments | « scm/define-grobs.scm ('k') | no next file » | no next file with comments »

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