Skip to content

Commit

Permalink
Don't hard code text editor colour to black
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Jan 25, 2024
1 parent 8abfc38 commit a62c6ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gin_plugin/components/gin_plugincomponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ void Readout::paint (juce::Graphics& g)
juce::TextEditor* Readout::createEditorComponent()
{
auto e = juce::Label::createEditorComponent();
e->removeColour (juce::TextEditor::textColourId);
e->setColour (juce::TextEditor::outlineColourId, juce::Colours::transparentBlack);
e->setColour (juce::TextEditor::focusedOutlineColourId, juce::Colours::transparentBlack);
e->applyFontToAllText (getLookAndFeel().getLabelFont (*this), true);
Expand Down

0 comments on commit a62c6ff

Please sign in to comment.