mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Introjucer: dragging exporter treeview fix. Audio plugin demo algorithm fix.
This commit is contained in:
parent
49d0182f61
commit
9afac59a60
3 changed files with 3 additions and 3 deletions
|
|
@ -396,7 +396,7 @@ namespace ProjectSettingsTreeClasses
|
|||
void itemDropped (const DragAndDropTarget::SourceDetails& dragSourceDetails, int insertIndex)
|
||||
{
|
||||
int oldIndex = dragSourceDetails.description.toString().getTrailingIntValue();
|
||||
exportersTree.moveChild (oldIndex, insertIndex, project.getUndoManagerFor (exportersTree));
|
||||
exportersTree.moveChild (oldIndex, jmax (0, insertIndex - 1), project.getUndoManagerFor (exportersTree));
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ void JuceDemoPluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, Midi
|
|||
const float in = channelData[i];
|
||||
channelData[i] += delayData[dp];
|
||||
delayData[dp] = (delayData[dp] + in) * delay;
|
||||
if (++dp > delayBuffer.getNumSamples())
|
||||
if (++dp >= delayBuffer.getNumSamples())
|
||||
dp = 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ String TooltipWindow::getTipFor (Component* const c)
|
|||
{
|
||||
if (c != nullptr
|
||||
&& Process::isForegroundProcess()
|
||||
&& ! Component::isMouseButtonDownAnywhere())
|
||||
&& ! ModifierKeys::getCurrentModifiers().isAnyMouseButtonDown())
|
||||
{
|
||||
TooltipClient* const ttc = dynamic_cast <TooltipClient*> (c);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue