1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:33:21 +08:00

Move resolved property to top of class

This commit is contained in:
Dean Herbert 2021-07-22 15:39:01 +09:00
parent 9d43ca122f
commit b5cc9010de

View File

@ -190,6 +190,9 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
private class SelectableAreaBackground : CompositeDrawable
{
[Resolved]
private OsuColour colours { get; set; }
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
{
float localY = ToLocalSpace(screenSpacePos).Y;
@ -220,9 +223,6 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
});
}
[Resolved]
private OsuColour colours { get; set; }
protected override bool OnHover(HoverEvent e)
{
this.FadeColour(colours.BlueLighter, 120, Easing.OutQuint);