From 49db3ce12e8ae72d5c3b8d070b1d42d7a7a99cf4 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 2 Nov 2021 12:19:56 +0000 Subject: [PATCH] AlertWindow: Make accessible label component colours fully transparent to prevent it from drawing over custom L&Fs --- modules/juce_gui_basics/windows/juce_AlertWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/windows/juce_AlertWindow.cpp b/modules/juce_gui_basics/windows/juce_AlertWindow.cpp index 0c8a7f493f..328d75a9d2 100644 --- a/modules/juce_gui_basics/windows/juce_AlertWindow.cpp +++ b/modules/juce_gui_basics/windows/juce_AlertWindow.cpp @@ -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())