1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Merge branch 'master' into set-busy-timeout

This commit is contained in:
Dean Herbert 2017-09-25 12:05:57 +08:00 committed by GitHub
commit 33a9bb6997
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ namespace osu.Game.Online.API.Requests
{
private readonly BeatmapInfo beatmap;
private string lookupString => beatmap.OnlineBeatmapID > 0 ? beatmap.OnlineBeatmapID.ToString() : $@"lookup?checksum={beatmap.Hash}&filename={beatmap.Path}";
private string lookupString => beatmap.OnlineBeatmapID > 0 ? beatmap.OnlineBeatmapID.ToString() : $@"lookup?checksum={beatmap.Hash}&filename={System.Uri.EscapeUriString(beatmap.Path)}";
public GetBeatmapDetailsRequest(BeatmapInfo beatmap)
{

View File

@ -77,9 +77,9 @@ namespace osu.Game.Screens.Select
foreach (var o in overlays)
{
if (o == overlay)
overlay.ToggleVisibility();
o.ToggleVisibility();
else
overlay.Hide();
o.Hide();
}
}, hotkey, depth);
}