Skip to content

Commit

Permalink
add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Jul 8, 2024
1 parent 35854e8 commit f078237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/components/RangedControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
RangedControl::RangedControl(juce::String name, int minValueIn, int maxValueIn, Style style)
: juce::Component(name)
{
range = juce::Range(minValueIn, maxValueIn);
range = juce::Range<int>(minValueIn, maxValueIn);
valueChangedCallback = [](){}; // no operation
setStyle(style);
setValue(minValueIn - 1);
Expand Down

0 comments on commit f078237

Please sign in to comment.