1
0
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:
Dean Herbert 2024-10-01 18:48:09 +09:00
parent 24d534929d
commit 162558e0b8
No known key found for this signature in database

View File

@ -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; }