mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Added support for multi-touch drag and drop
This commit is contained in:
parent
59fa229538
commit
5d8d37eb87
6 changed files with 230 additions and 138 deletions
|
|
@ -124,7 +124,7 @@ public:
|
|||
dragImage.multiplyAllAlphas (0.6f);
|
||||
|
||||
auto imageOffset = pos.getPosition() - e.getPosition();
|
||||
dragContainer->startDragging (dragDescription, &owner, dragImage, true, &imageOffset);
|
||||
dragContainer->startDragging (dragDescription, &owner, dragImage, true, &imageOffset, &e.source);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue