mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 04:41:39 +00:00
Converge increments only when holding the left/right button.
This commit is contained in:
parent
faa053cd77
commit
749216d2af
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
|||
config->Value += 0.01f;
|
||||
|
||||
deltaTime -= INCREMENT_TIME;
|
||||
} while (deltaTime > 0.0f);
|
||||
} while (fastIncrement && deltaTime > 0.0f);
|
||||
|
||||
config->Value = std::clamp(config->Value, valueMin, valueMax);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue