diff options
author | David Kastrup <dak@gnu.org> | 2015-09-17 18:22:39 +0200 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2015-09-23 14:54:41 +0200 |
commit | 6defe33388b630e1f2aa5b76c9b6eecfd0607343 (patch) | |
tree | 19e330bb55339e333f58b50c81cf2e676bd32bfc /scm | |
parent | 65a11dcd2f9e8d8535afae6a5844599e3a22e2aa (diff) |
Issue 4612: Don't let AccidentalPlacement::add_accidental rewrite X-offset
It does not seem necessary, obfuscates matters and precludes use of \offset.
Diffstat (limited to 'scm')
-rw-r--r-- | scm/define-grobs.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scm/define-grobs.scm b/scm/define-grobs.scm index a341cc4598..e7fc4bb956 100644 --- a/scm/define-grobs.scm +++ b/scm/define-grobs.scm @@ -38,6 +38,7 @@ (stencil . ,ly:accidental-interface::print) (horizontal-skylines . ,(ly:make-unpure-pure-container ly:accidental-interface::horizontal-skylines)) (vertical-skylines . ,grob::unpure-vertical-skylines-from-stencil) + (X-offset . ,ly:grob::x-parent-positioning) (Y-extent . ,accidental-interface::height) (meta . ((class . Item) (interfaces . (accidental-interface @@ -52,6 +53,7 @@ (glyph-name-alist . ,standard-alteration-glyph-name-alist) (parenthesized . #t) (stencil . ,ly:accidental-interface::print) + (X-offset . ,ly:grob::x-parent-positioning) (Y-extent . ,accidental-interface::height) (meta . ((class . Item) (interfaces . (accidental-interface @@ -130,7 +132,7 @@ (padding . 0.5) (side-axis . ,X) (stencil . ,ly:accidental-interface::print) - (X-offset . ,ly:side-position-interface::x-aligned-side) + (X-offset . ,ly:grob::x-parent-positioning) (Y-extent . ,accidental-interface::height) (meta . ((class . Item) (interfaces . (accidental-interface |