mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
trigger check for external drag when JUCE is no longer the foreground process
This commit is contained in:
parent
dd9802e265
commit
5dc9f59697
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ public:
|
|||
{
|
||||
auto now = Time::getCurrentTime();
|
||||
|
||||
if (getCurrentlyOver() != nullptr)
|
||||
if (getCurrentlyOver () != nullptr && Process::isForegroundProcess ())
|
||||
lastTimeOverTarget = now;
|
||||
else if (now > lastTimeOverTarget + RelativeTime::milliseconds (700))
|
||||
checkForExternalDrag (details, screenPos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue