evil typo

This commit is contained in:
ComedyLost
2025-11-23 02:22:34 -06:00
committed by Abnormal
parent 86a18067dd
commit e19f2155b1
+5 -5
View File
@@ -172,7 +172,7 @@ class Strumline extends FlxSpriteGroup
*/
public var noteVibrations:NoteVibrationsHandler = new NoteVibrationsHandler();
final inArrowContorlSchemeMode:Bool = #if mobile (Preferences.controlsScheme == FunkinHitboxControlSchemes.Arrows
final inArrowControlSchemeMode:Bool = #if mobile (Preferences.controlsScheme == FunkinHitboxControlSchemes.Arrows
&& !ControlsHandler.usingExternalInputDevice) #else false #end;
/**
@@ -242,7 +242,7 @@ class Strumline extends FlxSpriteGroup
var backgroundWidth:Float = KEY_COUNT * Strumline.NOTE_SPACING + BACKGROUND_PAD * 2;
#if mobile
if (inArrowContorlSchemeMode && isPlayer)
if (inArrowControlSchemeMode && isPlayer)
{
backgroundWidth = backgroundWidth * 1.84;
}
@@ -253,7 +253,7 @@ class Strumline extends FlxSpriteGroup
this.background.scrollFactor.set(0, 0);
this.background.x = -BACKGROUND_PAD;
#if mobile
if (inArrowContorlSchemeMode && isPlayer) this.background.x -= 100;
if (inArrowControlSchemeMode && isPlayer) this.background.x -= 100;
#end
this.add(this.background);
@@ -1143,7 +1143,7 @@ class Strumline extends FlxSpriteGroup
var trueScale = new FlxPoint(strumlineScale.x, strumlineScale.y);
#if mobile
if (inArrowContorlSchemeMode)
if (inArrowControlSchemeMode)
{
final amplification:Float = (FlxG.width / FlxG.height) / (FlxG.initialWidth / FlxG.initialHeight);
trueScale.set(strumlineScale.x - ((FlxG.height / FlxG.width) * 0.2) * amplification,
@@ -1330,7 +1330,7 @@ class Strumline extends FlxSpriteGroup
{
var pos:Float = 0;
#if mobile
if (inArrowContorlSchemeMode && isPlayer) pos = 35 * (FlxG.width / FlxG.height) / (FlxG.initialWidth / FlxG.initialHeight);
if (inArrowControlSchemeMode && isPlayer) pos = 35 * (FlxG.width / FlxG.height) / (FlxG.initialWidth / FlxG.initialHeight);
#end
return switch (direction)
{