13
0

fix lack of region trimming when not displaying name highlight bar

This commit is contained in:
Paul Davis 2014-04-16 09:03:16 -04:00
parent 78bab09e98
commit 59e6694405

View File

@ -168,6 +168,7 @@ RegionView::init (Gdk::Color const & basic_color, bool wfd)
if (name_highlight) { if (name_highlight) {
name_highlight->set_data ("regionview", this); name_highlight->set_data ("regionview", this);
name_highlight->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_region_view_name_highlight_event), name_highlight, this)); name_highlight->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_region_view_name_highlight_event), name_highlight, this));
}
if (frame_handle_start) { if (frame_handle_start) {
frame_handle_start->set_data ("regionview", this); frame_handle_start->set_data ("regionview", this);
@ -182,7 +183,6 @@ RegionView::init (Gdk::Color const & basic_color, bool wfd)
frame_handle_end->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_frame_handle_event), frame_handle_end, this)); frame_handle_end->Event.connect (sigc::bind (sigc::mem_fun (PublicEditor::instance(), &PublicEditor::canvas_frame_handle_event), frame_handle_end, this));
frame_handle_end->raise_to_top(); frame_handle_end->raise_to_top();
} }
}
if (name_text) { if (name_text) {
name_text->set_data ("regionview", this); name_text->set_data ("regionview", this);