From ddc70a9d2f23562fea4b4afaef76ef609fb19fc7 Mon Sep 17 00:00:00 2001 From: David Nalesnik Date: Mon, 14 Apr 2014 16:54:43 -0500 Subject: [PATCH] Fix calculation of X-extent of AccidentalPlacement. Previously, the offsets used for staggered placement of accidentals were not included in the calculation of the width of AccidentalPlacement grobs. --- lily/accidental-placement.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/accidental-placement.cc b/lily/accidental-placement.cc index f954defc65..6fa61e967d 100644 --- a/lily/accidental-placement.cc +++ b/lily/accidental-placement.cc @@ -418,7 +418,7 @@ position_apes (Grob *me, { Real mh = ape->horizontal_skylines_[d].max_height (); if (!isinf (mh)) - width.add_point (mh); + width.add_point (mh + offset); } last_offset = offset; -- 2.39.5