mirror of
https://github.com/ppy/osu
synced 2025-01-11 16:49:39 +00:00
fix typo
This commit is contained in:
parent
79e27c2d9d
commit
a4d28aff6d
@ -19,7 +19,7 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
{
|
||||
AddStep("seek to 1000", () => EditorClock.Seek(1000));
|
||||
AddAssert("time is 1000", () => EditorClock.CurrentTime == 1000);
|
||||
AddStep("set current time as preview point", () => Editor.SetCurrectTimeAsPreview());
|
||||
AddStep("set current time as preview point", () => Editor.SetCurrentTimeAsPreview());
|
||||
AddAssert("preview time is 1000", () => EditorBeatmap.PreviewTime.Value == 1000);
|
||||
}
|
||||
|
||||
|
@ -327,7 +327,7 @@ namespace osu.Game.Screens.Edit
|
||||
{
|
||||
Items = new MenuItem[]
|
||||
{
|
||||
new EditorMenuItem("Set Current Position as Preview Point", MenuItemType.Standard, SetCurrectTimeAsPreview)
|
||||
new EditorMenuItem("Set Current Position as Preview Point", MenuItemType.Standard, SetCurrentTimeAsPreview)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -808,7 +808,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
protected void Redo() => changeHandler?.RestoreState(1);
|
||||
|
||||
protected void SetCurrectTimeAsPreview()
|
||||
protected void SetCurrentTimeAsPreview()
|
||||
{
|
||||
editorBeatmap.PreviewTime.Value = (int)clock.CurrentTime;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
public new void Redo() => base.Redo();
|
||||
|
||||
public new void SetCurrectTimeAsPreview() => base.SetCurrectTimeAsPreview();
|
||||
public new void SetCurrentTimeAsPreview() => base.SetCurrentTimeAsPreview();
|
||||
|
||||
public new bool Save() => base.Save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user