]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.93
authorfred <fred>
Tue, 26 Mar 2002 23:56:42 +0000 (23:56 +0000)
committerfred <fred>
Tue, 26 Mar 2002 23:56:42 +0000 (23:56 +0000)
lily/side-position-interface.cc

index 7c2c974c7e9e6e8f895e84a5ef318b77729360ff..efbaf148448e2767809656e712b4022014f5fe21 100644 (file)
@@ -166,7 +166,7 @@ Side_position::quantised_position (Score_element *me, Axis )
       Real rad = Staff_symbol_referencer::staff_radius (me) *2 ;
       int ip = int  (rp);
 
-      if (abs (ip) < rad && (ip % 2) == 0)
+      if (abs (ip) < rad && Staff_symbol_referencer::on_staffline (me,ip))
        {
          ip += d;
          rp += d;