lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allow specifying different alignment for grob and its parent (issue


From: dak
Subject: Re: Allow specifying different alignment for grob and its parent (issue 118950043 by address@hidden)
Date: Fri, 01 Aug 2014 17:08:48 +0000


https://codereview.appspot.com/118950043/diff/100001/lily/self-alignment-interface.cc
File lily/self-alignment-interface.cc (right):

https://codereview.appspot.com/118950043/diff/100001/lily/self-alignment-interface.cc#newcode139
lily/self-alignment-interface.cc:139: if (robust_scm2string(par_align,
"") == "same-as-self-alignment")
That's too ugly to live.  Shouldn't you be able to use a callback here?
Look at grob::inherit-parent-property for inspiration, that's basically
what you need here apart from looking up the parent.

https://codereview.appspot.com/118950043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]