Don't draw measure lins a ton of times... but still drawn twice on initial session display :/

git-svn-id: svn://localhost/ardour2/trunk@2250 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2007-08-06 00:35:29 +00:00
parent a90425c0c0
commit 8dc95efe31
4 changed files with 4 additions and 7 deletions

View file

@ -109,13 +109,11 @@ void
ARDOUR_UI::goto_editor_window ()
{
editor->show_window ();
editor->present();
}
void
ARDOUR_UI::goto_mixer_window ()
{
mixer->show_window ();
mixer->present();
}
gint

View file

@ -823,8 +823,7 @@ Editor::set_entered_track (TimeAxisView* tav)
void
Editor::show_window ()
{
show_all ();
present ();
show_all_children ();
/* re-hide editor list if necessary */
editor_list_button_toggled ();
@ -839,6 +838,8 @@ Editor::show_window ()
tv = (static_cast<TimeAxisView*>(*i));
tv->reset_height ();
}
present ();
}
void

View file

@ -138,7 +138,7 @@ Editor::redisplay_tempo (bool immediate_redraw)
next_beat.ticks = 0;
if (current_bbt_points) {
delete current_bbt_points;
delete current_bbt_points;
current_bbt_points = 0;
}

View file

@ -369,8 +369,6 @@ TimeAxisView::set_height_pixels (uint32_t h)
/* resize the selection rect */
show_selection (editor.get_selection().time);
}
editor.redraw_measures();
}
bool