Browse Source

Workaround for a VS2013 bug

tags/2021-05-28
jules 7 years ago
parent
commit
b1e91734db
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_gui_extra/misc/juce_ColourSelector.cpp

+ 2
- 0
modules/juce_gui_extra/misc/juce_ColourSelector.cpp View File

@@ -328,7 +328,9 @@ ColourSelector::ColourSelector (int sectionsToShow, int edge, int gapAroundColou
sliders[3]->setVisible ((flags & showAlphaChannel) != 0);
for (auto& slider : sliders)
{ // braces needed here to avoid a VS2013 compiler bug
slider->onValueChange = [this] { changeColour(); };
}
}
if ((flags & showColourspace) != 0)


Loading…
Cancel
Save