]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/define-grobs.scm
Update d/copyright
[lilypond.git] / 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