mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00:00
Use new time signature control on timing screen
This commit is contained in:
parent
f39f2c93b5
commit
54f7b1b8d0
@ -6,7 +6,6 @@ using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Beatmaps.ControlPoints;
|
||||
using osu.Game.Beatmaps.Timing;
|
||||
using osu.Game.Graphics.UserInterfaceV2;
|
||||
using osu.Game.Overlays.Settings;
|
||||
|
||||
@ -15,7 +14,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
internal class TimingSection : Section<TimingControlPoint>
|
||||
{
|
||||
private SettingsSlider<double> bpmSlider;
|
||||
private SettingsDropdown<TimeSignature> timeSignature;
|
||||
private LabelledTimeSignature timeSignature;
|
||||
private BPMTextBox bpmTextEntry;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
@ -25,15 +24,10 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
{
|
||||
bpmTextEntry = new BPMTextBox(),
|
||||
bpmSlider = new BPMSlider(),
|
||||
timeSignature = new SettingsDropdown<TimeSignature>
|
||||
timeSignature = new LabelledTimeSignature
|
||||
{
|
||||
LabelText = "Time Signature",
|
||||
Items = new[]
|
||||
{
|
||||
TimeSignature.SimpleTriple,
|
||||
TimeSignature.SimpleQuadruple
|
||||
}
|
||||
},
|
||||
Label = "Time Signature"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user