- /*
- We make note column the parent of the script. That's not
- correct, but due to seconds in a chord, noteheads may be
- swapped around horizontally. We don't know which note head to
- put it on, so we postpone this decision to
- Script_interface::before_line_breaking ().
-
- */
- for (int i=0; i < scripts_.size (); i++)
- {
- Grob *e = scripts_[i].script_;
-
- if (!e->get_parent (X_AXIS) &&
- Side_position_interface::get_axis (e) == Y_AXIS)
- {
- e->set_parent (inf.grob_, X_AXIS);
- }
- }
+ if (!e->get_parent (X_AXIS)
+ && Side_position_interface::get_axis (e) == Y_AXIS)
+ e->set_parent (info.grob (), X_AXIS);