Skip to content

Commit

Permalink
Update MusicBeatState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline authored May 21, 2024
1 parent 69c8b32 commit 76a7f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/ui/MusicBeatState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ class MusicBeatState extends FlxTransitionableState implements IEventHandler
dispatchEvent(new UpdateScriptEvent(elapsed));

if (FlxG.keys.justPressed.ANY && isTouch) isTouch = false;
if (TouchUtil.justPressed && !isTouch) isTouch = true;
if (funkin.util.TouchUtil.justPressed && !isTouch) isTouch = true;
}

function createWatermarkText()
{
// Both have an xPos of 0, but a width equal to the full screen.
// The rightWatermarkText is right aligned, which puts the text in the correct spot.
// The rightWatermarkText is right-aligned, which puts the text in the correct spot.
leftWatermarkText = new FlxText(0, FlxG.height - 18, FlxG.width, '', 12);
rightWatermarkText = new FlxText(0, FlxG.height - 18, FlxG.width, '', 12);

Expand Down

0 comments on commit 76a7f87

Please sign in to comment.