- if (height == TimeAxisView::hSmaller ||
- height == TimeAxisView::hSmall)
- TimeAxisViewItem::set_height (height - 3 );
- else
- TimeAxisViewItem::set_height (height - NAME_HIGHLIGHT_SIZE - 3 );
+ if (h == TimeAxisView::hSmaller || h == TimeAxisView::hSmall) {
+ TimeAxisViewItem::set_y_position_and_height (y, h - 3 );
+ } else {
+ TimeAxisViewItem::set_y_position_and_height (y, h - NAME_HIGHLIGHT_SIZE - 3 );
+ }
+
+ _y_position = y;
+ _height = h;