mirror of
https://github.com/ppy/osu
synced 2025-02-17 10:57:03 +00:00
Fix editor defaulting to 0.5x playback speed
This commit is contained in:
parent
438408161c
commit
5472029ffe
@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using System.Linq;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
using osuTK.Graphics;
|
using osuTK.Graphics;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
@ -105,6 +106,8 @@ namespace osu.Game.Screens.Edit.Components
|
|||||||
TabContainer.Spacing = Vector2.Zero;
|
TabContainer.Spacing = Vector2.Zero;
|
||||||
|
|
||||||
tempo_values.ForEach(AddItem);
|
tempo_values.ForEach(AddItem);
|
||||||
|
|
||||||
|
Current.Value = tempo_values.Last();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PlaybackTabItem : TabItem<double>
|
public class PlaybackTabItem : TabItem<double>
|
||||||
|
Loading…
Reference in New Issue
Block a user