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