- Grob * d = unsmob_grob (me->get_property ("dot"));
- if (d && bt > 4) // UGH.
- {
- d->set_property ("staff-position",
- scm_int2num ((bt == 7) ? 4 : 3));
- }
- if (d && bt >= -1 && bt <= 1) // UGH again.
- {
- d->set_property ("staff-position",
- scm_int2num ((bt == 0) ? -1 : 1));
- }
- return SCM_UNSPECIFIED;
+ if (!position_override)
+ amount += 2 * ss * get_grob_direction (me);;
+
+ return scm_from_double (amount);