Fix hiding beatmaps not refreshing correctly

This commit is contained in:
Dean Herbert 2018-02-15 16:15:30 +09:00
parent 89cf794f98
commit 8c1d581fb3
1 changed files with 1 additions and 4 deletions

View File

@ -34,12 +34,10 @@ public bool Hide(BeatmapInfo beatmap)
Refresh(ref beatmap, Beatmaps);
if (beatmap.Hidden) return false;
beatmap.Hidden = true;
BeatmapHidden?.Invoke(beatmap);
}
BeatmapHidden?.Invoke(beatmap);
return true;
}
@ -55,7 +53,6 @@ public bool Restore(BeatmapInfo beatmap)
Refresh(ref beatmap, Beatmaps);
if (!beatmap.Hidden) return false;
beatmap.Hidden = false;
}