1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

AlertWindow: Make accessible label component colours fully transparent to prevent it from drawing over custom L&Fs

This commit is contained in:
ed 2021-11-02 12:19:56 +00:00
parent 67dfc1975c
commit 49db3ce12e

View file

@ -47,7 +47,9 @@ AlertWindow::AlertWindow (const String& title,
{
setAlwaysOnTop (juce_areThereAnyAlwaysOnTopWindows());
accessibleMessageLabel.setColour (Label::textColourId, Colours::transparentBlack);
accessibleMessageLabel.setColour (Label::textColourId, Colours::transparentBlack);
accessibleMessageLabel.setColour (Label::backgroundColourId, Colours::transparentBlack);
accessibleMessageLabel.setColour (Label::outlineColourId, Colours::transparentBlack);
addAndMakeVisible (accessibleMessageLabel);
if (message.isEmpty())