mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge 36e2713ba6 into 270063ac31
This commit is contained in:
commit
e96947f770
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ void DragAndDropContainer::startDragging (const var& sourceDescription,
|
|||
dragImageComponent->sourceDetails.localPosition = sourceComponent->getLocalPoint (nullptr, lastMouseDown);
|
||||
dragImageComponent->updateLocation (false, lastMouseDown);
|
||||
|
||||
#if JUCE_WINDOWS
|
||||
#if JUCE_WINDOWS || JUCE_LINUX
|
||||
// Under heavy load, the layered window's paint callback can often be lost by the OS,
|
||||
// so forcing a repaint at least once makes sure that the window becomes visible..
|
||||
if (auto* peer = dragImageComponent->getPeer())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue