1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

AlertWindow: Prevent accessible label component from intercepting mouse clicks

This commit is contained in:
ed 2021-11-02 12:35:17 +00:00
parent 49db3ce12e
commit 274ce967e4

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())