mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
zero more stuff out when leaving subview mode
This commit is contained in:
parent
dc4daa892d
commit
7f82e7769f
2 changed files with 12 additions and 4 deletions
|
|
@ -391,10 +391,7 @@ Strip::show_route_name ()
|
|||
|
||||
string fullname = string();
|
||||
if (!_route) {
|
||||
// make sure first three strips get cleared of view mode
|
||||
if (_index > 2) {
|
||||
return;
|
||||
}
|
||||
fullname = string();
|
||||
} else {
|
||||
fullname = _route->name();
|
||||
}
|
||||
|
|
@ -1470,6 +1467,10 @@ Strip::subview_mode_changed ()
|
|||
set_vpot_parameter (_pan_mode);
|
||||
/* need to show strip name again */
|
||||
show_route_name ();
|
||||
if (!_route) {
|
||||
_surface->write (_vpot->set (0, true, Pot::wrap));
|
||||
_surface->write (_fader->set_position (0.0));
|
||||
}
|
||||
notify_metering_state_changed ();
|
||||
eq_band = -1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue