From da3548f89b2f01489b9093401695b3d14822291e Mon Sep 17 00:00:00 2001 From: Vincenzo Sicurella Date: Fri, 19 Jul 2024 18:10:43 -0400 Subject: [PATCH] set LumatoneKey default colour to black, not transparent --- Source/lumatone_editor_library/data/lumatone_key.cpp | 2 +- Source/lumatone_editor_library/data/lumatone_key.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/lumatone_editor_library/data/lumatone_key.cpp b/Source/lumatone_editor_library/data/lumatone_key.cpp index 6d9b92a..aca11ed 100644 --- a/Source/lumatone_editor_library/data/lumatone_key.cpp +++ b/Source/lumatone_editor_library/data/lumatone_key.cpp @@ -14,7 +14,7 @@ LumatoneKey::LumatoneKey(LumatoneKeyType newKeyType) { noteNumber = 0; channelNumber = 1; - colour = juce::Colour(); + colour = juce::Colours::black; keyType = newKeyType; ccFaderDefault = true; diff --git a/Source/lumatone_editor_library/data/lumatone_key.h b/Source/lumatone_editor_library/data/lumatone_key.h index d4df164..f6b3830 100644 --- a/Source/lumatone_editor_library/data/lumatone_key.h +++ b/Source/lumatone_editor_library/data/lumatone_key.h @@ -39,7 +39,7 @@ struct LumatoneKeyPropertyData bool useChannel = false; bool useCCFaderDefault = false; - juce::Colour colour = juce::Colour(); + juce::Colour colour = juce::Colours::black; LumatoneKeyType type = LumatoneKeyType::disabledDefault; int note = -1; int channel = -1;