mirror of
https://github.com/ppy/osu.git
synced 2025-01-29 05:52:56 +08:00
Replace unnecessary ToString
call
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
c97cfdd978
commit
192cfe8717
@ -196,7 +196,7 @@ namespace osu.Game.Configuration
|
|||||||
string skinName = LookupSkinName(m) ?? string.Empty;
|
string skinName = LookupSkinName(m) ?? string.Empty;
|
||||||
return new SettingDescription(skinName, SkinSettingsStrings.SkinSectionHeader, skinName, $"{GlobalActionKeyBindingStrings.RandomSkin}: {LookupKeyBindings(GlobalAction.RandomSkin)}");
|
return new SettingDescription(skinName, SkinSettingsStrings.SkinSectionHeader, skinName, $"{GlobalActionKeyBindingStrings.RandomSkin}: {LookupKeyBindings(GlobalAction.RandomSkin)}");
|
||||||
}),
|
}),
|
||||||
new TrackedSetting<float>(OsuSetting.UIScale, m => new SettingDescription(m, GraphicsSettingsStrings.UIScaling, $"{m.ToString("N2")}x")), // TODO: implement lookup for framework platform key bindings
|
new TrackedSetting<float>(OsuSetting.UIScale, m => new SettingDescription(m, GraphicsSettingsStrings.UIScaling, $"{m:N2}x")), // TODO: implement lookup for framework platform key bindings
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user