mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Mackie Control: Fix Flip mode getting confused if subview is not sends.
This commit is contained in:
parent
7229dccb3b
commit
99a53ed7f0
2 changed files with 14 additions and 5 deletions
|
|
@ -738,12 +738,14 @@ MackieControlProtocol::dyn_release (Button &)
|
|||
LedState
|
||||
MackieControlProtocol::flip_press (Button &)
|
||||
{
|
||||
if (_flip_mode != Normal) {
|
||||
set_flip_mode (Normal);
|
||||
} else {
|
||||
set_flip_mode (Mirror);
|
||||
if (subview_mode() == MackieControlProtocol::Sends) {
|
||||
if (_flip_mode != Normal) {
|
||||
set_flip_mode (Normal);
|
||||
} else {
|
||||
set_flip_mode (Mirror);
|
||||
}
|
||||
return ((_flip_mode != Normal) ? on : off);
|
||||
}
|
||||
return ((_flip_mode != Normal) ? on : off);
|
||||
}
|
||||
LedState
|
||||
MackieControlProtocol::flip_release (Button &)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue