track height fixes:
* retain [custom] track-height Editor::override_visible_track_count() is called repeatedly (for every change), there was a 50/50 chance of it saving the right value. * adjust default for new sessions: use “Normal” track height until told otherwise.
This commit is contained in:
@@ -398,7 +398,7 @@ Editor::Editor ()
|
||||
_edit_point = EditAtMouse;
|
||||
_internal_editing = false;
|
||||
current_canvas_cursor = 0;
|
||||
_visible_track_count = 16;
|
||||
_visible_track_count = -1;
|
||||
|
||||
samples_per_pixel = 2048; /* too early to use reset_zoom () */
|
||||
|
||||
@@ -3619,7 +3619,7 @@ Editor::set_visible_track_count (int32_t n)
|
||||
void
|
||||
Editor::override_visible_track_count ()
|
||||
{
|
||||
_visible_track_count = -_visible_track_count;
|
||||
_visible_track_count = -1;
|
||||
visible_tracks_selector.set_text ( _("*") );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user