From 349ac0f21f5f8678c961ba9ebde824cdb01a4002 Mon Sep 17 00:00:00 2001 From: blancoberg Date: Thu, 12 Dec 2024 16:03:34 +0100 Subject: [PATCH] fix fix static variable --- src/surge-xt/gui/overlays/LuaEditors.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/surge-xt/gui/overlays/LuaEditors.cpp b/src/surge-xt/gui/overlays/LuaEditors.cpp index b2058ff1ec4..1c40efc2659 100644 --- a/src/surge-xt/gui/overlays/LuaEditors.cpp +++ b/src/surge-xt/gui/overlays/LuaEditors.cpp @@ -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()