- int x = get_w() / 2 -
- LoadMode::calculate_w(this, mwindow->theme) / 2;
- int y = get_cancel_button()->get_y() -
- LoadMode::calculate_h(this, mwindow->theme);
- loadmode = new LoadMode(mwindow, this, x, y, &thread->load_mode, 0);
+ int x = get_w() / 2 - LoadMode::calculate_w(this, mwindow->theme) / 2;
+ int y = get_y_margin();
+// always start as clip to match historical behavior
+ thread->edl_mode = LOADMODE_EDL_CLIP;
+ loadmode = new LoadMode(mwindow, this, x, y,
+ &thread->load_mode, &thread->edl_mode, 0, 1);