keep region trim handle layered on top of crossfade area
git-svn-id: svn://localhost/ardour2/branches/3.0@13670 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b8a8abeb8f
commit
63a25adb9e
|
@ -552,6 +552,7 @@ AudioRegionView::reset_fade_in_shape_width (boost::shared_ptr<AudioRegion> ar, f
|
||||||
fade_in_handle->property_x2() = handle_center + handle_size;
|
fade_in_handle->property_x2() = handle_center + handle_size;
|
||||||
|
|
||||||
if (pwidth < 5) {
|
if (pwidth < 5) {
|
||||||
|
hide_start_xfade();
|
||||||
fade_in_shape->hide();
|
fade_in_shape->hide();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -596,13 +597,13 @@ AudioRegionView::reset_fade_in_shape_width (boost::shared_ptr<AudioRegion> ar, f
|
||||||
fade_in_shape->property_points() = *points;
|
fade_in_shape->property_points() = *points;
|
||||||
delete points;
|
delete points;
|
||||||
|
|
||||||
|
redraw_start_xfade_to ( ar, width);
|
||||||
|
|
||||||
/* ensure trim handle stays on top */
|
/* ensure trim handle stays on top */
|
||||||
if (frame_handle_start) {
|
if (frame_handle_start) {
|
||||||
frame_handle_start->raise_to_top();
|
frame_handle_start->raise_to_top();
|
||||||
}
|
}
|
||||||
|
|
||||||
redraw_start_xfade_to ( ar, width);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -642,6 +643,7 @@ AudioRegionView::reset_fade_out_shape_width (boost::shared_ptr<AudioRegion> ar,
|
||||||
/* don't show shape if its too small */
|
/* don't show shape if its too small */
|
||||||
|
|
||||||
if (pwidth < 5) {
|
if (pwidth < 5) {
|
||||||
|
hide_end_xfade();
|
||||||
fade_out_shape->hide();
|
fade_out_shape->hide();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -686,12 +688,13 @@ AudioRegionView::reset_fade_out_shape_width (boost::shared_ptr<AudioRegion> ar,
|
||||||
fade_out_shape->property_points() = *points;
|
fade_out_shape->property_points() = *points;
|
||||||
delete points;
|
delete points;
|
||||||
|
|
||||||
|
redraw_end_xfade_to (ar, width);
|
||||||
|
|
||||||
/* ensure trim handle stays on top */
|
/* ensure trim handle stays on top */
|
||||||
if (frame_handle_end) {
|
if (frame_handle_end) {
|
||||||
frame_handle_end->raise_to_top();
|
frame_handle_end->raise_to_top();
|
||||||
}
|
}
|
||||||
|
|
||||||
redraw_end_xfade_to (ar, width);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
framepos_t
|
framepos_t
|
||||||
|
|
Loading…
Reference in New Issue
Block a user