- order = nth;
-
- if (y_position != y) {
- /* the coordinates used here are in the system of the
- item's parent ...
- */
- canvas_display->property_y () = y;
-// canvas_display->move (0.0, 0.0);
-
- Group* pg;
- double ix1, iy1, ix2, iy2;
- canvas_display->get_bounds (ix1, iy1, ix2, iy2);
- iy1 += editor.get_trackview_group_vertical_offset ();
- pg = canvas_display->property_parent();
- pg->i2w (ix1, iy1);
-
- if (iy1 < 0) {
- iy1 = 0;
- }
-
- canvas_display->move (0.0, y - iy1);