Remove useless code. Read me change.

This commit is contained in:
xenakios 2018-05-07 15:51:50 +03:00
parent dd333faf2c
commit 0859d8cdb4
2 changed files with 1 additions and 14 deletions

View File

@ -1003,20 +1003,7 @@ void SpectralChainEditor::mouseDown(const MouseEvent & ev)
juce::Rectangle<int> r(box_w*m_cur_index, 1, 12, 12); juce::Rectangle<int> r(box_w*m_cur_index, 1, 12, 12);
if (r.contains(ev.x, ev.y)) if (r.contains(ev.x, ev.y))
{ {
for (int i = 0; i < m_order.size(); ++i)
{
if (m_order[i].m_index == m_cur_index)
{
//Logger::writeToLog("SpectralChainEditor::mouseDown "+m_order[i].m_enabled->name);
//return;
}
}
toggleBool(m_order[m_cur_index].m_enabled); toggleBool(m_order[m_cur_index].m_enabled);
Logger::writeToLog("SpectralChainEditor::mouseDown " + m_order[m_cur_index].m_enabled->name);
//m_src->setSpectrumProcessOrder(m_order);
//if (ModuleOrderOrEnabledChangedCallback)
// ModuleOrderOrEnabledChangedCallback();
repaint(); repaint();
return; return;
} }

View File

@ -7,7 +7,7 @@ Copyright (C) 2017-2018 Xenakios
Released under GNU General Public License v.2 license. Released under GNU General Public License v.2 license.
History : History :
05-03-2018 1.2.0 05-07-2018 1.2.0
-Changed "Octaves" module to "Ratios". The Ratios module has more shifters than the previous -Changed "Octaves" module to "Ratios". The Ratios module has more shifters than the previous
Octaves module and allows changing the pitch ratios (and the shifters mix) Octaves module and allows changing the pitch ratios (and the shifters mix)
in a separate tabbed page in the GUI. in a separate tabbed page in the GUI.