Try improving the spectral module dragging logic but didn't really improve yet. Readme changes.

This commit is contained in:
xenakios
2018-02-22 15:15:11 +02:00
parent 017957b7ae
commit 615f870490
2 changed files with 7 additions and 4 deletions

View File

@ -821,7 +821,7 @@ void SpectralChainEditor::mouseDown(const MouseEvent & ev)
return;
}
}
m_drag_x = -1;
m_drag_x = ev.x;
repaint();
}
@ -845,7 +845,8 @@ void SpectralChainEditor::mouseDrag(const MouseEvent & ev)
if (ModuleOrderOrEnabledChangedCallback)
ModuleOrderOrEnabledChangedCallback();
}
m_drag_x = ev.x;
int diff = m_drag_x - ev.x;
m_drag_x -= diff;
repaint();
}
}