Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
fix static variable
  • Loading branch information
blancoberg committed Dec 12, 2024
1 parent 3b23d95 commit 349ac0f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/surge-xt/gui/overlays/LuaEditors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,11 @@ void CodeEditorSearch::setHighlightColors()
{
auto color = skin->getColor(Colors::FormulaEditor::Background);

ed->setColour(
juce::CodeEditorComponent::highlightColourId,
color.interpolatedWith(juce::Colour(COLOR_MATCH[0], COLOR_MATCH[1], COLOR_MATCH[3]), 0.6));
ed->setColour(juce::CodeEditorComponent::highlightColourId,
color.interpolatedWith(juce::Colour(CodeEditorSearch::COLOR_MATCH[0],
CodeEditorSearch::COLOR_MATCH[1],
CodeEditorSearch::COLOR_MATCH[3]),
0.6));
}

void CodeEditorSearch::removeHighlightColors()
Expand Down

0 comments on commit 349ac0f

Please sign in to comment.