mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
ASTExtension: Fixed default of invert setting
This commit is contained in:
parent
2b4f98ee29
commit
1fc70a07db
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ public class ASTExtensionMod : MelonMod
|
|||
var modifierRatio = modifier / _initialModifier;
|
||||
|
||||
// If inversion is toggled, invert the modifier ratio
|
||||
if (EntryInvertGesture.Value) modifierRatio = 1f / modifierRatio;
|
||||
if (!EntryInvertGesture.Value) modifierRatio = 1f / modifierRatio;
|
||||
|
||||
// Determine the adjustment factor for the height, this will be >1 if scaling up, <1 if scaling down.
|
||||
var heightAdjustmentFactor = modifierRatio > 1 ? 1 + (modifierRatio - 1) : 1 - (1 - modifierRatio);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue