Avoid mouse drag when the spectral module enable button has been clicked

This commit is contained in:
xenakios
2018-02-01 00:06:32 +02:00
parent 6745f5443b
commit d119439f76
2 changed files with 9 additions and 5 deletions

View File

@ -156,7 +156,7 @@ private:
bool m_did_drag = false;
int m_cur_index = -1;
int m_drag_x = 0;
std::vector<SpectrumProcess> m_order;
std::vector<SpectrumProcess> m_order;
void drawBox(Graphics& g, int index, int x, int y, int w, int h);
};