- /* ugh. Should be done by beam. */
- Direction d = stem_l_->get_dir ();
- Real beamy = (stem_l_->hpos_f () - b->stems_[0]->hpos_f ()) * b->slope_f_ + b->left_y_;
-
- Real staff_space = rest_l_arr_[0]->staff_line_leading_f ();
- Real rest_dim = extent (Y_AXIS)[d]*2.0 /staff_space ;
+ if (Accidental_placement::has_interface (acc->get_parent (X_AXIS)))
+ return acc->get_parent (X_AXIS);