mirror of
https://github.com/ppy/osu.git
synced 2026-05-13 20:33:35 +08:00
e6fdd37e76
When editing metadata, it's annoying that the editor returns to compose mode when switching between difficulties. This fixes that fallacy. Supersedes and closes https://github.com/ppy/osu/pull/36724.
27 lines
765 B
C#
27 lines
765 B
C#
// 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.
|
|
|
|
namespace osu.Game.Screens.Edit
|
|
{
|
|
/// <summary>
|
|
/// Structure used to convey the general state of an <see cref="Editor"/> instance.
|
|
/// </summary>
|
|
public class EditorState
|
|
{
|
|
/// <summary>
|
|
/// The current editor mode.
|
|
/// </summary>
|
|
public EditorScreenMode Mode { get; set; }
|
|
|
|
/// <summary>
|
|
/// The current audio time.
|
|
/// </summary>
|
|
public double Time { get; set; }
|
|
|
|
/// <summary>
|
|
/// The editor clipboard content.
|
|
/// </summary>
|
|
public string ClipboardContent { get; set; } = string.Empty;
|
|
}
|
|
}
|