- for (vsize i = right_items.size (); i--;)
- {
- Grob *g = right_items[i];
- if (Note_column::has_interface (right_items[i]))
- {
- max_left_stickout = max (max_left_stickout, left_stickout (me, g));
- max_optical = max (max_optical, optical_correction (me, g, bar_size));
- }
- else
- {
- extract_grob_set (g, "elements", elts);
- for (vsize j = elts.size (); j--;)
- {
- max_left_stickout = max (max_left_stickout, left_stickout (me, elts[j]));
- max_optical = max (max_optical, optical_correction (me, g, bar_size));
- }
- }
- }
+ for (vsize i = 0; i < note_columns.size (); i++)
+ max_optical = max (max_optical, optical_correction (me, note_columns[i], bar_size));