1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-09 13:47:25 +00:00

Remove unused "typing" element.

This commit is contained in:
EliteMasterEric 2024-05-02 21:23:55 -04:00
parent 76b7baa44a
commit a2aa1bd84a

View file

@ -128,7 +128,6 @@ class FreeplayState extends MusicBeatSubState
var albumRoll:AlbumRoll; var albumRoll:AlbumRoll;
var letterSort:LetterSort; var letterSort:LetterSort;
var typing:FlxInputText;
var exitMovers:ExitMoverData = new Map(); var exitMovers:ExitMoverData = new Map();
var stickerSubState:StickerSubState; var stickerSubState:StickerSubState;
@ -536,12 +535,6 @@ class FreeplayState extends MusicBeatSubState
funnyCam.bgColor = FlxColor.TRANSPARENT; funnyCam.bgColor = FlxColor.TRANSPARENT;
FlxG.cameras.add(funnyCam, false); FlxG.cameras.add(funnyCam, false);
typing = new FlxInputText(100, 100);
typing.callback = function(txt, action) {
trace(action);
};
forEach(function(bs) { forEach(function(bs) {
bs.cameras = [funnyCam]; bs.cameras = [funnyCam];
}); });
@ -916,7 +909,7 @@ class FreeplayState extends MusicBeatSubState
generateSongList(currentFilter, true); generateSongList(currentFilter, true);
} }
if (controls.BACK && !typing.hasFocus) if (controls.BACK)
{ {
FlxTween.globalManager.clear(); FlxTween.globalManager.clear();
FlxTimer.globalManager.clear(); FlxTimer.globalManager.clear();