mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 22:19:30 +08:00
Merge pull request #458 from Lahvuun/master
Options sidebar flickering fix.
This commit is contained in:
commit
e6f4fe9e61
@ -147,8 +147,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
var previous = sidebarButtons.SingleOrDefault(sb => sb.Selected);
|
var previous = sidebarButtons.SingleOrDefault(sb => sb.Selected);
|
||||||
var next = sidebarButtons.SingleOrDefault(sb => sb.Section == bestCandidate);
|
var next = sidebarButtons.SingleOrDefault(sb => sb.Section == bestCandidate);
|
||||||
if (next != null) next.Selected = true;
|
|
||||||
if (previous != null) previous.Selected = false;
|
if (previous != null) previous.Selected = false;
|
||||||
|
if (next != null) next.Selected = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user