fixed issue with fader group and mute state, added comments, update
This commit is contained in:
parent
2c0b8a6119
commit
7f9518bceb
2 changed files with 10 additions and 1 deletions
|
@ -22,8 +22,10 @@
|
|||
|
||||
TODO grouping does not work as expected:
|
||||
- vertical space between check boxes should be smaller
|
||||
- update help text
|
||||
|
||||
TODO minimum height of faders (dependent on style)
|
||||
- startup height of main windows should be higher now
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -412,6 +412,7 @@ void CChannelFader::SendFaderLevelToServer ( const int iLevel,
|
|||
bIsGroupUpdate,
|
||||
iLevel - iPreviousFaderLevel );
|
||||
|
||||
// update previous fader level since the level has changed
|
||||
iPreviousFaderLevel = iLevel;
|
||||
}
|
||||
}
|
||||
|
@ -441,6 +442,12 @@ void CChannelFader::SetMute ( const bool bState )
|
|||
{
|
||||
// mute was unchecked, get current fader value and apply
|
||||
emit gainValueChanged ( CalcFaderGain ( GetFaderLevel() ), bIsMyOwnFader, false, 0 );
|
||||
|
||||
// TODO When mute or solo is activated, the group synchronization does not work anymore.
|
||||
// To get a smoother experience, we adjust the previous level as soon as the mute is
|
||||
// again set to off (if we would not do that, on the next move of the fader the other
|
||||
// faders in the group would jump which is very bad).
|
||||
iPreviousFaderLevel = GetFaderLevel();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue