X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fcollision.cc;h=792caf0d3ea6a9e2f323a9e4af24454c14c9f706;hb=9d3df03734443ed214141ca8bf4b6fc32af945a5;hp=5c0ae795180a2282a5e0150e3b1567b43854e175;hpb=73c3e44b4e0884a0ea7d227a7c188bc4e2c02c7f;p=lilypond.git diff --git a/lily/collision.cc b/lily/collision.cc index 5c0ae79518..792caf0d3e 100644 --- a/lily/collision.cc +++ b/lily/collision.cc @@ -39,6 +39,14 @@ Collision::force_shift_callback (SCM element_smob, SCM axis) /* TODO: make callback of this. + + TODO: + + note-width is hardcoded, making it difficult to handle all note + heads sanely. We should really look at the widths of the colliding + columns, and have a separate setting for "align stems". + + */ void Collision::do_shifts (Grob* me) @@ -47,7 +55,8 @@ Collision::do_shifts (Grob* me) SCM hand (forced_shift (me)); Link_array done; - + + Real wid = gh_scm2double (me->get_grob_property ("note-width"));