mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Move resolved property to top of class
This commit is contained in:
parent
9d43ca122f
commit
b5cc9010de
@ -190,6 +190,9 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
|||||||
|
|
||||||
private class SelectableAreaBackground : CompositeDrawable
|
private class SelectableAreaBackground : CompositeDrawable
|
||||||
{
|
{
|
||||||
|
[Resolved]
|
||||||
|
private OsuColour colours { get; set; }
|
||||||
|
|
||||||
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
|
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
|
||||||
{
|
{
|
||||||
float localY = ToLocalSpace(screenSpacePos).Y;
|
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)
|
protected override bool OnHover(HoverEvent e)
|
||||||
{
|
{
|
||||||
this.FadeColour(colours.BlueLighter, 120, Easing.OutQuint);
|
this.FadeColour(colours.BlueLighter, 120, Easing.OutQuint);
|
||||||
|
Loading…
Reference in New Issue
Block a user