- Real dl = Staff_symbol_referencer_interface (this).staff_space();
-
- translate_axis(2.0 * dl * get_direction (), Y_AXIS);
+ Real space = staff_symbol_referencer (this).staff_space();
+ Direction d = directional_element (this). get ();
+ if (!d)
+ {
+ d = UP;
+ directional_element(this).set (d);
+ }
+
+ translate_axis(2.0 * space * d, Y_AXIS);