for(Edit *edit = track->edits->first; edit; edit = edit->next) {
if(!edit->transition) continue;
edit_dimensions(edit, x, y, w, h);
- int strip_x = x;
+ int strip_x = x, edit_y = y;
get_transition_coords(edit, x, y, w, h);
- int strip_h = mwindow->theme->get_image("plugin_bg_data")->get_h();
- int track_y = edit->edits->track->y_pixel;
- int strip_y = y - strip_h;
- if( strip_y < track_y ) strip_y = track_y;
+ int strip_y = y - mwindow->theme->get_image("plugin_bg_data")->get_h();
+ if( strip_y < edit_y ) strip_y = edit_y;
int strip_w = Units::round(edit->track->from_units(edit->transition->length) *
mwindow->edl->session->sample_rate / mwindow->edl->local_session->zoom_sample);