mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 13:47:24 +08:00
Move setting back to timing panel
This commit is contained in:
parent
0cddb93dda
commit
c37e4877e2
@ -422,10 +422,6 @@ namespace osu.Game.Screens.Edit
|
|||||||
Items = new MenuItem[]
|
Items = new MenuItem[]
|
||||||
{
|
{
|
||||||
new EditorMenuItem(EditorStrings.SetPreviewPointToCurrent, MenuItemType.Standard, SetPreviewPointToCurrentTime),
|
new EditorMenuItem(EditorStrings.SetPreviewPointToCurrent, MenuItemType.Standard, SetPreviewPointToCurrentTime),
|
||||||
new ToggleMenuItem(EditorStrings.AdjustExistingObjectsOnTimingChanges)
|
|
||||||
{
|
|
||||||
State = { BindTarget = config.GetBindable<bool>(OsuSetting.EditorAdjustExistingObjectsOnTimingChanges) },
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Game.Beatmaps.ControlPoints;
|
using osu.Game.Beatmaps.ControlPoints;
|
||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
using osu.Game.Graphics.UserInterfaceV2;
|
using osu.Game.Graphics.UserInterfaceV2;
|
||||||
|
using osu.Game.Localisation;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Edit.Timing
|
namespace osu.Game.Screens.Edit.Timing
|
||||||
{
|
{
|
||||||
@ -25,6 +26,12 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
{
|
{
|
||||||
Flow.AddRange(new Drawable[]
|
Flow.AddRange(new Drawable[]
|
||||||
{
|
{
|
||||||
|
new LabelledSwitchButton
|
||||||
|
{
|
||||||
|
Label = EditorStrings.AdjustExistingObjectsOnTimingChanges,
|
||||||
|
FixedLabelWidth = 220,
|
||||||
|
Current = configManager.GetBindable<bool>(OsuSetting.EditorAdjustExistingObjectsOnTimingChanges),
|
||||||
|
},
|
||||||
new TapTimingControl(),
|
new TapTimingControl(),
|
||||||
bpmTextEntry = new BPMTextBox(),
|
bpmTextEntry = new BPMTextBox(),
|
||||||
timeSignature = new LabelledTimeSignature
|
timeSignature = new LabelledTimeSignature
|
||||||
|
Loading…
Reference in New Issue
Block a user