mirror of https://github.com/ppy/osu
Flip `viaConfig` conditional branch
This commit is contained in:
parent
8534dd3463
commit
b815f685fc
|
@ -375,10 +375,10 @@ private void noPlaceholderShown()
|
|||
|
||||
private void setCardSize(BeatmapCardSize cardSize, bool viaConfig) => AddStep($"set card size to {cardSize}", () =>
|
||||
{
|
||||
if (!viaConfig)
|
||||
overlay.ChildrenOfType<BeatmapListingCardSizeTabControl>().Single().Current.Value = cardSize;
|
||||
else
|
||||
if (viaConfig)
|
||||
localConfig.SetValue(OsuSetting.BeatmapListingCardSize, cardSize);
|
||||
else
|
||||
overlay.ChildrenOfType<BeatmapListingCardSizeTabControl>().Single().Current.Value = cardSize;
|
||||
});
|
||||
|
||||
private void assertAllCardsOfType<T>(int expectedCount)
|
||||
|
|
Loading…
Reference in New Issue