Skip to content

Commit

Permalink
fix hitbox
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Oct 20, 2024
1 parent 69920cc commit 583022c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/menus/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class MainMenuState extends MusicBeatState
FlxG.camera.follow(camFollow, null, 0.06);
var modsKey:String = controls.touchC ? "M" : controls.getKeyName(SWITCHMOD);

versionText = new FunkinText(5, FlxG.height - 2, 0, 'Codename Engine v${Application.current.meta.get('version')}\nCommit ${funkin.backend.system.macros.GitCommitMacro.commitNumber} (${funkin.backend.system.macros.GitCommitMacro.commitHash})\n[$modsKey}] Open Mods menu\n');
versionText = new FunkinText(5, FlxG.height - 2, 0, 'Codename Engine v${Application.current.meta.get('version')}\nCommit ${funkin.backend.system.macros.GitCommitMacro.commitNumber} (${funkin.backend.system.macros.GitCommitMacro.commitHash})\n[$modsKey] Open Mods menu\n');
versionText.y -= versionText.height;
versionText.scrollFactor.set();
add(versionText);
Expand Down
1 change: 1 addition & 0 deletions source/mobile/objects/Hitbox.hx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class Hitbox extends FlxButtonGroup
hint.label = new FlxSprite();
hint.labelStatusDiff = (Options.hitboxType != "hidden") ? Options.controlsAlpha : 0.00001;
hint.label.loadGraphic(createHintGraphic(Width, Math.floor(Height * 0.035), true));
hint.label.color = Color;
hint.label.offset.y -= (hint.height - hint.label.height);
if (Options.hitboxType != 'hidden')
{
Expand Down

0 comments on commit 583022c

Please sign in to comment.