commit 2e2f7de6d575a98e039b84e38e4113e5935ecbe4 Author: Yotam Medini Date: Fri Jul 12 14:22:02 2024 +0300 define hspace & vspace with (0 . 0) instead of empty-interval diff --git a/scm/define-markup-commands.scm b/scm/define-markup-commands.scm index ab09763c3e..8b591cb244 100644 --- a/scm/define-markup-commands.scm +++ b/scm/define-markup-commands.scm @@ -1279,7 +1279,7 @@ Create an invisible object taking up @var{amount} horizontal space. @end lilypond See also @code{\\abs-hspace}." - (ly:make-stencil "" (cons 0 amount) empty-interval)) + (ly:make-stencil "" (cons 0 amount) '(0 . 0))) (define-markup-command (abs-hspace layout props amount) (number?) @@ -1301,7 +1301,7 @@ points. @end lilypond See also @code{\\hspace}." - (ly:make-stencil "" (cons 0 (to-staff-space amount)) empty-interval)) + (ly:make-stencil "" (cons 0 (to-staff-space amount)) '(0 . 0))) (define-markup-command (vspace layout props amount) (number?) @@ -1326,7 +1326,7 @@ of @var{amount} multiplied by 3. See also @code{\\abs-vspace}." (let ((amount (* amount 3.0))) - (ly:make-stencil "" empty-interval (cons 0 amount)))) + (ly:make-stencil "" '(0 . 0) (cons 0 amount)))) (define-markup-command (abs-vspace layout props amount) (number?) @@ -1350,7 +1350,7 @@ points. @end lilypond See also @code{\\vspace}." - (ly:make-stencil "" empty-interval (cons 0 (to-staff-space amount)))) + (ly:make-stencil "" '(0 . 0) (cons 0 (to-staff-space amount)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;