mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Fix incorrect comparison in line updating logic
This commit is contained in:
@ -73,7 +73,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
{
|
||||
foreach (var tabItem in TabContainer)
|
||||
{
|
||||
if (tabItem.Value == Current.Value)
|
||||
if (tabItem.Value.Equals(Current.Value))
|
||||
{
|
||||
ModeButtonLine.MoveToX(tabItem.DrawPosition.X, !hasInitialPosition ? 0 : 200, Easing.OutQuint);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user