mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
approximatelyEqual: Fix some compilation errors
This commit is contained in:
parent
f2e03eade0
commit
3aa5d96e67
2 changed files with 10 additions and 5 deletions
|
|
@ -271,6 +271,9 @@ public:
|
|||
*/
|
||||
void setTargetValue (FloatType newValue) noexcept
|
||||
{
|
||||
if (approximatelyEqual (newValue, this->target))
|
||||
return;
|
||||
|
||||
if (stepsToTarget <= 0)
|
||||
{
|
||||
this->setCurrentAndTargetValue (newValue);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue