mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Merge 5dc9f59697 into d6181bde38
This commit is contained in:
commit
6d2bb12bf1
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,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