X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Falign-interface.cc;h=216323644f62dba718dc1c9c8b6139df65149265;hb=refs%2Fheads%2Fbugs%2F572290;hp=27839aca920d46ce08dcce76b34271d064ac1168;hpb=0e5d83a9ceb4a143f83d22406d7eb816314ff9f7;p=lilypond.git diff --git a/lily/align-interface.cc b/lily/align-interface.cc index 27839aca92..216323644f 100644 --- a/lily/align-interface.cc +++ b/lily/align-interface.cc @@ -224,8 +224,10 @@ Align_interface::get_extents_aligned_translates (Grob *me, } } + // So far, we've computed the translates for all the non-empty elements. + // Here, we set the translates for the empty elements: an empty element + // gets the same translation as the last non-empty element before it. vector all_translates; - if (!translates.empty ()) { Real w = translates[0];