gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 67c82c8be8dc4e817ef2c1a00ade650e31833d42
parent dbbbfbb5bf38afd640bdb6df2bbe8d61b7735395
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 18 Jan 2022 23:41:09 +0100

fix broken part select buttons

Diffstat:
Msource/jucePlugin/ui/Virus_Buttons.cpp | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/source/jucePlugin/ui/Virus_Buttons.cpp b/source/jucePlugin/ui/Virus_Buttons.cpp @@ -108,8 +108,11 @@ namespace Buttons { auto on = Drawable::createFromImageData(BinaryData::part_select_btn_36x36_png, BinaryData::part_select_btn_36x36_pngSize); + + const auto empty = new DrawableText(); + setColour(DrawableButton::ColourIds::backgroundColourId, Colours::transparentBlack); setColour(DrawableButton::ColourIds::backgroundOnColourId, Colours::transparentBlack); - setImages(on.get(), nullptr, on.get(), nullptr, on.get(), nullptr, nullptr); + setImages(empty, nullptr, on.get(), nullptr, on.get(), nullptr, nullptr); } }; // namespace Buttons