Reviewers: ,
Message:
Please review. Thanks!
Description:
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.
Please review this at https://codereview.appspot.com/94980043/
Affected files (+1, -1 lines):
M lily/accidental-placement.cc
Index: lily/accidental-placement.cc
diff --git a/lily/accidental-placement.cc b/lily/accidental-placement.cc
index
f954defc652d89dd9cc354051c76d165fb399cb1..6fa61e967de6a74cf0e62cf89848bab3bbc1259a
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;
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel