mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Don't switch ui tabs when loading presets
This commit is contained in:
parent
c754f51e02
commit
76445cd97f
4 changed files with 12 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
- Add modulation overview to title bar
|
||||
- Tabs now switch when dragging modulation over their buttons
|
||||
- Make sure editor scale does change loading presets
|
||||
- Don't switch ui tabs when loading presets
|
||||
|
||||
1.0.9:
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit a3ebb2f521e4caa069579ae24d426ad833ed81c6
|
||||
Subproject commit d31158aff17cc717972f6d2f75439b9bc036b434
|
||||
|
|
@ -698,6 +698,15 @@ void WavetableAudioProcessor::setupModMatrix()
|
|||
modMatrix.build();
|
||||
}
|
||||
|
||||
bool WavetableAudioProcessor::isParamLocked (gin::Parameter* p)
|
||||
{
|
||||
if (p == uiParams.activeMOD) return true;
|
||||
if (p == uiParams.activeLFO) return true;
|
||||
if (p == uiParams.activeENV) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
float WavetableAudioProcessor::getSmoothingTime (gin::Parameter*)
|
||||
{
|
||||
return 0.02f;
|
||||
|
|
|
|||
|
|
@ -287,6 +287,7 @@ public:
|
|||
juce::Random rng;
|
||||
|
||||
private:
|
||||
bool isParamLocked (gin::Parameter* p) override;
|
||||
float getSmoothingTime (gin::Parameter*);
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue