]> git.donarmstrong.com Git - lilypond.git/commitdiff
accidental-placement: add minimal padding; issue 2141
authorKeith OHara <k-ohara5a5a@oco.net>
Wed, 17 Jul 2013 07:09:25 +0000 (00:09 -0700)
committerKeith OHara <k-ohara5a5a@oco.net>
Wed, 4 Sep 2013 21:19:38 +0000 (14:19 -0700)
lily/accidental-placement.cc

index b7a41c0266fdb07a7b1933d76d736ce7aa1665a1..da23e5719498bfbc97222d4bc90890a2207ccaae 100644 (file)
@@ -398,7 +398,8 @@ position_apes (Grob *me,
     {
       Accidental_placement_entry *ape = apes[i];
 
-      Real offset = -ape->horizontal_skylines_[RIGHT].distance (left_skyline);
+      Real offset = -ape->horizontal_skylines_[RIGHT]
+                    .distance (left_skyline, 0.1);
       if (isinf (offset))
         offset = last_offset;
       else