1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Disabled mouse interactions with the splash screen once it has started fading

This commit is contained in:
Tom Poole 2017-11-27 11:26:26 +00:00
parent 3eaeb3795e
commit b709bd8d98

View file

@ -348,7 +348,10 @@ void JUCESplashScreen::parentHierarchyChanged()
bool JUCESplashScreen::hitTest (int x, int y)
{
return getLogoArea (getLocalBounds().toFloat()).contains ((float) x, (float) y);
if (! hasStartedFading)
return getLogoArea (getLocalBounds().toFloat()).contains ((float) x, (float) y);
return false;
}
void JUCESplashScreen::mouseUp (const MouseEvent&)