1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-17 00:44:19 +00:00
This commit is contained in:
Dave Elton 2025-08-17 12:46:46 +00:00 committed by GitHub
commit 6d2bb12bf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);