1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00

Update DragAndDropTarget::SourceDetails::localPosition before calling DragAndDropContainer::dragOperationStarted()

This commit is contained in:
ed 2020-01-21 15:54:32 +00:00
parent c5e515aff4
commit a313357d39

View file

@ -482,6 +482,7 @@ void DragAndDropContainer::startDragging (const var& sourceDescription,
}
}
dragImageComponent->sourceDetails.localPosition = sourceComponent->getLocalPoint (nullptr, lastMouseDown);
dragImageComponent->updateLocation (false, lastMouseDown);
#if JUCE_WINDOWS