mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-30 03:25:47 -05:00
ease
This commit is contained in:
parent
4193cd4ee2
commit
0a47689eaa
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,8 @@ import haxe.ui.containers.HBox;
|
||||||
import haxe.ui.containers.ScrollView;
|
import haxe.ui.containers.ScrollView;
|
||||||
import haxe.ui.containers.ScrollView;
|
import haxe.ui.containers.ScrollView;
|
||||||
import haxe.ui.core.Screen;
|
import haxe.ui.core.Screen;
|
||||||
|
import flixel.tweens.FlxTween;
|
||||||
|
import flixel.tweens.FlxEase;
|
||||||
|
|
||||||
// @:nullSafety // TODO: Fix null safety when used with HaxeUI build macros.
|
// @:nullSafety // TODO: Fix null safety when used with HaxeUI build macros.
|
||||||
@:access(funkin.ui.debug.charting.ChartEditorState)
|
@:access(funkin.ui.debug.charting.ChartEditorState)
|
||||||
|
@ -27,6 +29,9 @@ class ChartEditorCharacterIconSelectorMenu extends ChartEditorBaseMenu
|
||||||
super(state2);
|
super(state2);
|
||||||
|
|
||||||
initialize(charType, lockPosition);
|
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)
|
function initialize(charType:CharacterType, lockPosition:Bool)
|
||||||
|
|
Loading…
Reference in a new issue