[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Y - offset problem on TupletBracket
From: |
David Kastrup |
Subject: |
Re: Y - offset problem on TupletBracket |
Date: |
Wed, 05 Feb 2020 23:07:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Paolo Prete <address@hidden> writes:
> On Wed, Feb 5, 2020 at 10:32 PM David Kastrup <address@hidden> wrote:
>
>> Paolo Prete <address@hidden> writes:
>>
>> > Hello,
>> >
>> > as you can test with the following snippet, TupletBracket doesn't take
>> into
>> > account its direction when setting Y-offset (tested both on stable and
>> > 2.19.83 versions)
>> >
>> > {
>> > \once \override TupletBracket.direction = #UP
>> > \once \override TupletBracket.Y-offset = -20
>> > \tuplet 3/2 { c'''4 c'' c''}
>> > }
>> >
>> > Is there a fix (or a proper way to manage it) for this?
>>
>> Possibly
>>
>> \once \override TupletBracket.Y-offset = #(lambda (grob)
>> (* -20
>> (ly:grob-property grob
>> 'direction)))
>>
>> --
>>
>
> Hi David,
> thanks, it works.
> Should the case be reported as a bug or is it expected behavior?
I am not sure what the behavior you expect is and how the actual
behavior differs.
--
David Kastrup