Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Feb 4, 2024
1 parent b4c2f1f commit 71759a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/gin_plugin/components/gin_msegcomponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void MSEGComponent::paramChanged ()
dirty = true;
}

void MSEGComponent::createPath (juce::Rectangle<float> area)
void MSEGComponent::createPath()
{
mseg.setSampleRate (44100.0);

Expand Down Expand Up @@ -83,7 +83,7 @@ void MSEGComponent::paint (juce::Graphics& g)
if (dirty)
{
dirty = false;
createPath (rc);
createPath();
}

g.setColour (dimIfNeeded (findColour (GinLookAndFeel::whiteColourId).withAlpha (0.1f)));
Expand Down
2 changes: 1 addition & 1 deletion modules/gin_plugin/components/gin_msegcomponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class MSEGComponent : public MultiParamComponent,
void timerCallback() override;
void paramChanged () override;

void createPath (juce::Rectangle<float> area);
void createPath();
float getSample (float phase);

Parameter::Ptr wave, sync, rate, beat, depth, offset, phase, enable, xgrid, ygrid, loop;
Expand Down

0 comments on commit 71759a3

Please sign in to comment.