mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
More changes in-line with framework changes.
This commit is contained in:
@ -297,7 +297,7 @@ namespace osu.Game.Screens.Tournament
|
||||
}
|
||||
}
|
||||
|
||||
private void speedTo(float value, double duration = 0, EasingTypes easing = EasingTypes.None) => TransformTo(() => speed, value, duration, easing, new TransformScrollSpeed());
|
||||
private void speedTo(float value, double duration = 0, EasingTypes easing = EasingTypes.None) => TransformTo(value, duration, easing, new TransformScrollSpeed());
|
||||
|
||||
private enum ScrollState
|
||||
{
|
||||
@ -310,11 +310,8 @@ namespace osu.Game.Screens.Tournament
|
||||
|
||||
public class TransformScrollSpeed : TransformFloat<Drawable>
|
||||
{
|
||||
public override void Apply(Drawable d)
|
||||
{
|
||||
base.Apply(d);
|
||||
((ScrollingTeamContainer)d).speed = CurrentValue;
|
||||
}
|
||||
public override void Apply(Drawable d) => ((ScrollingTeamContainer)d).speed = CurrentValue;
|
||||
public override void ReadIntoStartValue(Drawable d) => StartValue = ((ScrollingTeamContainer)d).speed;
|
||||
}
|
||||
|
||||
public class ScrollingTeam : Container
|
||||
|
Reference in New Issue
Block a user