[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 30 Nov 2011 00:16:30 +0100
the attached code is my attempt to center a NoteColumn in a measure (like MultiMeasureRest).
It's based upon http://old.nabble.com/centering-text-on-a-measure-td32377202.html (thanks to David Nalesnik)
While it works fine in most cases, there is one major problem:
Having a key-change to a\minor or c\major the function should adress the keyCancellation as left bound to center the following NoteColumn.
But it doesn't, instead I get the log-warning: Infinity or NaN encountered
I've no idea why!
How to improve?
Description: Text Data
|[Prev in Thread]
||[Next in Thread]|
- center NoteColumn,
Thomas Morley <=