Skip to content

Commit

Permalink
Chyron Clean-Up
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelMaryamLocke committed Jan 30, 2024
1 parent fd2e7b6 commit 204dcfb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/gui/BandSplitter/BandSplitterChyron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,9 @@ BandSplitterChyron::BandSplitterChyron (chowdsp::PluginState& pluginState,

void BandSplitterChyron::updateValues()
{
const auto reset = [this]
{
cutoffSliderLow.reset();
cutoffSliderMid.reset();
cutoffSliderHigh.reset();
};

reset();
cutoffSliderLow.reset();
cutoffSliderMid.reset();
cutoffSliderHigh.reset();

auto bandState = bandSplitterParams.getCurrentBandState();
cutoffSliderLow.emplace (state, bandSplitterParams.cutoff.get(), &hostContextProvider);
Expand Down

0 comments on commit 204dcfb

Please sign in to comment.