Browse Source

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

tags/2021-05-28
Tom Poole 8 years ago
parent
commit
b709bd8d98
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      modules/juce_gui_basics/misc/juce_JUCESplashScreen.cpp

+ 4
- 1
modules/juce_gui_basics/misc/juce_JUCESplashScreen.cpp 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&)


Loading…
Cancel
Save