]> git.donarmstrong.com Git - lilypond.git/commitdiff
define-grobs.scm: use a property for TrillPitch offset; issue 3465
authorKeith OHara <k-ohara5a5a@oco.net>
Sat, 23 Nov 2013 03:50:26 +0000 (19:50 -0800)
committerDavid Kastrup <dak@gnu.org>
Sat, 15 Feb 2014 18:07:14 +0000 (19:07 +0100)
scm/define-grobs.scm

index af69d6697160a128f2ae0c7afc46e24db7cbcf20..1900ef8b576ce7df44061f01715d73b6b520d0dc 100644 (file)
         (direction . ,RIGHT)
         (font-size . -4)
         (horizon-padding . 0.1) ; to avoid interleaving with augmentation dots
+        ;; minimum shift to the right, in case the parent note has no stem
+        (minimum-space . 2.5)
         (padding . 0.3)
         (side-axis . ,X)
         (stencil . ,parenthesize-elements)
         (stencils . ,parentheses-item::calc-parenthesis-stencils)
-        ;; offset a bit to the right, further if needed to clear the main note
-        (X-offset . ,(lambda (grob)
-                       (ly:side-position-interface::x-aligned-side grob 2.5)))
+        (X-offset . ,ly:side-position-interface::x-aligned-side)
         (Y-extent . ,grob::always-Y-extent-from-stencil)
         (meta . ((class . Item)
                  (interfaces . (axis-group-interface