mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 23:59:16 +08:00
@"" -> string.Empty
This commit is contained in:
parent
bfedd42ca4
commit
995a573b9c
@ -33,7 +33,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
public Action<Mod> Action; // Passed the selected mod or null if none
|
public Action<Mod> Action; // Passed the selected mod or null if none
|
||||||
|
|
||||||
public string TooltipText => (SelectedMod?.Description ?? Mods.FirstOrDefault()?.Description) ?? @"";
|
public string TooltipText => (SelectedMod?.Description ?? Mods.FirstOrDefault()?.Description) ?? string.Empty;
|
||||||
|
|
||||||
private int _selectedIndex = -1;
|
private int _selectedIndex = -1;
|
||||||
private int selectedIndex
|
private int selectedIndex
|
||||||
|
Loading…
Reference in New Issue
Block a user