mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 15:17:44 +08:00
Use record
struct
See https://www.jetbrains.com/help/rider/UsageOfDefaultStructEquality.html.
This commit is contained in:
parent
24d534929d
commit
162558e0b8
@ -11,7 +11,7 @@ using osu.Game.Input.Bindings;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public readonly struct Hotkey
|
||||
public readonly record struct Hotkey
|
||||
{
|
||||
public KeyCombination[]? KeyCombinations { get; init; }
|
||||
public GlobalAction? GlobalAction { get; init; }
|
||||
|
Loading…
Reference in New Issue
Block a user