kopia lustrzana https://github.com/jameshball/osci-render
Fix crash when reordering effects
rodzic
09d9b32882
commit
e7479ac2f4
|
@ -74,6 +74,7 @@ void DraggableListBoxItem::itemDragExit(const SourceDetails& /*dragSourceDetails
|
|||
|
||||
void DraggableListBoxItem::itemDropped(const juce::DragAndDropTarget::SourceDetails &dragSourceDetails)
|
||||
{
|
||||
hideInsertLines();
|
||||
if (DraggableListBoxItem* item = dynamic_cast<DraggableListBoxItem*>(dragSourceDetails.sourceComponent.get()))
|
||||
{
|
||||
if (dragSourceDetails.localPosition.y < getHeight() / 2)
|
||||
|
@ -82,7 +83,6 @@ void DraggableListBoxItem::itemDropped(const juce::DragAndDropTarget::SourceDeta
|
|||
modelData.moveAfter(item->rowNum, rowNum);
|
||||
listBox.updateContent();
|
||||
}
|
||||
hideInsertLines();
|
||||
}
|
||||
|
||||
juce::Component* DraggableListBoxModel::refreshComponentForRow(int rowNumber, bool isRowSelected, juce::Component *existingComponentToUpdate)
|
||||
|
|
|
@ -637,7 +637,7 @@
|
|||
bigIcon="pSc1mq" applicationCategory="public.app-category.music">
|
||||
<CONFIGURATIONS>
|
||||
<CONFIGURATION isDebug="1" name="Debug" targetName="osci-render"/>
|
||||
<CONFIGURATION isDebug="0" name="Release" targetName="osci-render"/>
|
||||
<CONFIGURATION isDebug="1" name="Release" targetName="osci-render"/>
|
||||
</CONFIGURATIONS>
|
||||
<MODULEPATHS>
|
||||
<MODULEPATH id="juce_audio_basics" path="../../../JUCE/modules"/>
|
||||
|
|
Ładowanie…
Reference in New Issue