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:
parent
c5e515aff4
commit
a313357d39
1 changed files with 1 additions and 0 deletions
|
|
@ -482,6 +482,7 @@ void DragAndDropContainer::startDragging (const var& sourceDescription,
|
|||
}
|
||||
}
|
||||
|
||||
dragImageComponent->sourceDetails.localPosition = sourceComponent->getLocalPoint (nullptr, lastMouseDown);
|
||||
dragImageComponent->updateLocation (false, lastMouseDown);
|
||||
|
||||
#if JUCE_WINDOWS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue