Fix rulers on intial display (fix item 1 of ticket #2740).
git-svn-id: svn://localhost/ardour2/branches/3.0@6662 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e6033ea2f9
commit
3b01f732ac
@ -374,7 +374,7 @@ Editor::Editor ()
|
||||
|
||||
zoom_focus = ZoomFocusLeft;
|
||||
set_zoom_focus (ZoomFocusLeft);
|
||||
zoom_range_clock.ValueChanged.connect (sigc::mem_fun(*this, &Editor::zoom_adjustment_changed));
|
||||
zoom_range_clock.ValueChanged.connect (sigc::mem_fun(*this, &Editor::zoom_adjustment_changed));
|
||||
|
||||
bbt_label.set_name ("EditorTimeButton");
|
||||
bbt_label.set_size_request (-1, (int)timebar_height);
|
||||
@ -793,6 +793,8 @@ Editor::show_window ()
|
||||
tv = (static_cast<TimeAxisView*>(*i));
|
||||
tv->reset_height ();
|
||||
}
|
||||
|
||||
reset_zoom (frames_per_unit);
|
||||
}
|
||||
|
||||
present ();
|
||||
|
Loading…
Reference in New Issue
Block a user