mirror of
https://github.com/ppy/osu.git
synced 2026-05-28 20:40:46 +08:00
Add menu tip exposing new behaviour
This commit is contained in:
@@ -154,6 +154,11 @@ namespace osu.Game.Localisation
|
||||
/// </summary>
|
||||
public static LocalisableString RightMouseAbsoluteScroll => new TranslatableString(getKey(@"right_mouse_absolute_scroll"), @"Try holding your right mouse button near the beatmap carousel to quickly scroll to an absolute position!");
|
||||
|
||||
/// <summary>
|
||||
/// "Shift-click on a beatmap panel in the beatmap listing overlay to quickly download or view the beatmap in song select!"
|
||||
/// </summary>
|
||||
public static LocalisableString ShiftClickInBeatmapOverlay => new TranslatableString(getKey(@"shift_click_in_beatmap_overlay"), @"Shift-click on a beatmap panel in the beatmap listing overlay to quickly download or view the beatmap in song select!");
|
||||
|
||||
/// <summary>
|
||||
/// "a tip for you:"
|
||||
/// </summary>
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace osu.Game.Screens.Menu
|
||||
.FadeOutFromOne(2000, Easing.OutQuint);
|
||||
}
|
||||
|
||||
private const int available_tips = 29;
|
||||
private const int available_tips = 30;
|
||||
|
||||
private LocalisableString getRandomTip()
|
||||
{
|
||||
@@ -216,6 +216,9 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
case 28:
|
||||
return MenuTipStrings.RightMouseAbsoluteScroll;
|
||||
|
||||
case 29:
|
||||
return MenuTipStrings.ShiftClickInBeatmapOverlay;
|
||||
}
|
||||
|
||||
return string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user