Browse Source

AlertWindow: Prevent accessible label component from intercepting mouse clicks

v6.1.6
ed 3 years ago
parent
commit
274ce967e4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/juce_gui_basics/windows/juce_AlertWindow.cpp

+ 1
- 0
modules/juce_gui_basics/windows/juce_AlertWindow.cpp View File

@@ -50,6 +50,7 @@ AlertWindow::AlertWindow (const String& title,
accessibleMessageLabel.setColour (Label::textColourId, Colours::transparentBlack);
accessibleMessageLabel.setColour (Label::backgroundColourId, Colours::transparentBlack);
accessibleMessageLabel.setColour (Label::outlineColourId, Colours::transparentBlack);
accessibleMessageLabel.setInterceptsMouseClicks (false, false);
addAndMakeVisible (accessibleMessageLabel);
if (message.isEmpty())


Loading…
Cancel
Save