mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Consolidate HoverClickSounds constructors
As suggested in review, merge both HoverClickSounds constructors into one accepting optional arguments. Due to existing usages the parameter is added as second and supplied by name in ModButton.
This commit is contained in:
@ -283,7 +283,7 @@ namespace osu.Game.Overlays.Mods
|
||||
Anchor = Anchor.TopCentre,
|
||||
Font = OsuFont.GetFont(size: 18)
|
||||
},
|
||||
new HoverClickSounds(new[] { MouseButton.Left, MouseButton.Right })
|
||||
new HoverClickSounds(buttons: new[] { MouseButton.Left, MouseButton.Right })
|
||||
};
|
||||
|
||||
Mod = mod;
|
||||
|
Reference in New Issue
Block a user