mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-10 00:34:40 +00:00
flicker on accept
This commit is contained in:
parent
d6f6cc3ca9
commit
d3a873037d
|
@ -1,11 +1,9 @@
|
|||
package;
|
||||
|
||||
import flixel.util.FlxTimer;
|
||||
import flixel.FlxState;
|
||||
import cpp.abi.Abi;
|
||||
import flixel.FlxG;
|
||||
import flixel.FlxObject;
|
||||
import flixel.FlxSprite;
|
||||
import flixel.FlxState;
|
||||
import flixel.addons.transition.FlxTransitionableState;
|
||||
import flixel.effects.FlxFlicker;
|
||||
import flixel.graphics.frames.FlxAtlasFrames;
|
||||
|
@ -14,6 +12,7 @@ import flixel.text.FlxText;
|
|||
import flixel.tweens.FlxEase;
|
||||
import flixel.tweens.FlxTween;
|
||||
import flixel.util.FlxColor;
|
||||
import flixel.util.FlxTimer;
|
||||
import io.newgrounds.NG;
|
||||
import lime.app.Application;
|
||||
|
||||
|
|
|
@ -65,6 +65,8 @@ class MenuTypedItemList<T:MenuItem> extends FlxTypedGroup<T>
|
|||
public function accept()
|
||||
{
|
||||
var selected = members[selectedIndex];
|
||||
onAcceptPress.dispatch(selected);
|
||||
|
||||
if (selected.fireInstantly)
|
||||
selected.callback();
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue