13
0

fix an unfortunate "side-effect" of the frame->sample renaming

This commit is contained in:
Paul Davis 2018-11-25 21:24:32 -05:00
parent d30cd17b8b
commit f2e2cce343
2 changed files with 4 additions and 0 deletions

View File

@ -477,6 +477,7 @@ MidiRegionView::enter_internal (uint32_t state)
}
// Lower frame handles below notes so they don't steal events
if (frame_handle_start) {
frame_handle_start->lower_to_bottom();
}
@ -496,6 +497,7 @@ MidiRegionView::leave_internal()
if (frame_handle_start) {
frame_handle_start->raise_to_top();
}
if (frame_handle_end) {
frame_handle_end->raise_to_top();
}

View File

@ -172,6 +172,7 @@ protected:
virtual void set_colors();
virtual void set_frame_color();
virtual void set_frame_gradient ();
void set_trim_handle_colors();
virtual void reset_width_dependent_items (double);
@ -225,6 +226,7 @@ protected:
bool high_enough_for_name;
ArdourCanvas::Container* group;
ArdourCanvas::Rectangle* frame;
ArdourCanvas::Rectangle* selection_frame;
ArdourCanvas::Text* name_text;