#include "axis-group-interface.hh"
#include "lookup.hh"
+#include "note-head.hh"
#include "stencil.hh"
#include "skyline.hh"
#include "paper-column.hh"
Item *il = dynamic_cast<Item *> (elts[i]);
if (pc != il->get_column ())
continue;
- if (Axis_group_interface::has_interface (il))
+
+ /* ugh. We want to exclude groups of grobs (so that we insert each grob
+ individually into the skyline instead of adding a single box that
+ bounds all of them). However, we can't exclude an axis-group that
+ adds to its childrens' stencil. Currently, this is just TrillPitchGroup;
+ hence the check for note-head-interface. */
+ if (Axis_group_interface::has_interface (il)
+ && !Note_head::has_interface (il))
continue;
Interval y (il->pure_height (ycommon, 0, very_large));