From 0a47689eaa40cc133a6bf168b3378678963147a2 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Wed, 13 Dec 2023 23:11:12 -0500 Subject: [PATCH] ease --- .../charting/dialogs/ChartEditorCharacterIconSelectorMenu.hx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/funkin/ui/debug/charting/dialogs/ChartEditorCharacterIconSelectorMenu.hx b/source/funkin/ui/debug/charting/dialogs/ChartEditorCharacterIconSelectorMenu.hx index 357a739fd..d7e9c259b 100644 --- a/source/funkin/ui/debug/charting/dialogs/ChartEditorCharacterIconSelectorMenu.hx +++ b/source/funkin/ui/debug/charting/dialogs/ChartEditorCharacterIconSelectorMenu.hx @@ -13,6 +13,8 @@ import haxe.ui.containers.HBox; import haxe.ui.containers.ScrollView; import haxe.ui.containers.ScrollView; import haxe.ui.core.Screen; +import flixel.tweens.FlxTween; +import flixel.tweens.FlxEase; // @:nullSafety // TODO: Fix null safety when used with HaxeUI build macros. @:access(funkin.ui.debug.charting.ChartEditorState) @@ -27,6 +29,9 @@ class ChartEditorCharacterIconSelectorMenu extends ChartEditorBaseMenu super(state2); initialize(charType, lockPosition); + this.alpha = 0; + this.y -= 10; + FlxTween.tween(this, {alpha: 1, y: this.y + 10}, 0.2, {ease: FlxEase.quartOut}); } function initialize(charType:CharacterType, lockPosition:Bool)