From 615f870490a55830dd92039816d24cc8c1f2d9a2 Mon Sep 17 00:00:00 2001 From: xenakios Date: Thu, 22 Feb 2018 15:15:11 +0200 Subject: [PATCH] Try improving the spectral module dragging logic but didn't really improve yet. Readme changes. --- Source/PluginEditor.cpp | 5 +++-- readme.txt | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index eaa1c31..340b0fb 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -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(); } } diff --git a/readme.txt b/readme.txt index aea93bc..3ec14ff 100644 --- a/readme.txt +++ b/readme.txt @@ -8,9 +8,11 @@ Released under GNU General Public License v.2 license. History : -02-21-2018 1.0.2 +02-22-2018 1.0.2 -Show approximate stretched output duration in info label (only valid if the stretch amount is not automated in the host) - -Added stretch processing bypass parameter + -Added stretch processing bypass parameter (to play the original sound looped like it is passed into the stretcher) + -Waveform selection can be moved by dragging with shift pressed + -Waveform should no longer disappear when not intended 02-16-2018 1.0.1 -Increased maximum number of input channels to 8 -Added zoom/scroll bar for waveform