Skip to content

Commit

Permalink
use modelled black as default transparent color in model
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Jan 20, 2024
1 parent bf083c0 commit c9bab27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/lumatone_editor_library/color/colour_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LumatoneColourModel::~LumatoneColourModel()
juce::Colour LumatoneColourModel::getModelColour(juce::Colour colour)
{
if (colour.isTransparent())
return juce::Colour();
colour = juce::Colours::black;

LumatoneEditor::ColourHash hash = LumatoneEditor::getColourHash(colour);
auto cached = (*cache)[hash];
Expand Down

0 comments on commit c9bab27

Please sign in to comment.