From f21d3853c6a590334848664cdcdceaf592ea9ecc Mon Sep 17 00:00:00 2001 From: David Nalesnik Date: Mon, 14 Apr 2014 16:54:43 -0500 Subject: [PATCH] Fixes calculation of X-extent of AccidentalPlacement. Previously, the offsets involved in staggering of accidentals was not included in the calculation of the width of AccidentalPlacement grobs. --- lily/accidental-placement.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lily/accidental-placement.cc b/lily/accidental-placement.cc index f954def..6fa61e9 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; -- 1.7.0.4