From a2aa1bd84a0be15feb29a42865258c0e1ba36865 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Thu, 2 May 2024 21:23:55 -0400 Subject: [PATCH] Remove unused "typing" element. --- source/funkin/ui/freeplay/FreeplayState.hx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/funkin/ui/freeplay/FreeplayState.hx b/source/funkin/ui/freeplay/FreeplayState.hx index dd2299490..ca7716e7d 100644 --- a/source/funkin/ui/freeplay/FreeplayState.hx +++ b/source/funkin/ui/freeplay/FreeplayState.hx @@ -128,7 +128,6 @@ class FreeplayState extends MusicBeatSubState var albumRoll:AlbumRoll; var letterSort:LetterSort; - var typing:FlxInputText; var exitMovers:ExitMoverData = new Map(); var stickerSubState:StickerSubState; @@ -536,12 +535,6 @@ class FreeplayState extends MusicBeatSubState funnyCam.bgColor = FlxColor.TRANSPARENT; FlxG.cameras.add(funnyCam, false); - typing = new FlxInputText(100, 100); - - typing.callback = function(txt, action) { - trace(action); - }; - forEach(function(bs) { bs.cameras = [funnyCam]; }); @@ -916,7 +909,7 @@ class FreeplayState extends MusicBeatSubState generateSongList(currentFilter, true); } - if (controls.BACK && !typing.hasFocus) + if (controls.BACK) { FlxTween.globalManager.clear(); FlxTimer.globalManager.clear();