1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

remove useless value change

This commit is contained in:
cdwcgt 2022-06-30 19:51:58 +09:00
parent fd0d8b1ce3
commit 33209ecd25
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -66,7 +66,6 @@ namespace osu.Game.Screens.Play
break;
}
};
State.BindValueChanged(updateTooltip, true);
State.BindValueChanged(state =>
{
switch (state.NewValue)
@ -84,6 +83,7 @@ namespace osu.Game.Screens.Play
break;
}
}, true);
State.BindValueChanged(updateTooltip, true);
}
private void saveScore()
@ -120,7 +120,6 @@ namespace osu.Game.Screens.Play
break;
case ImportState.Failed:
button.State.Value = DownloadState.NotDownloaded;
button.TooltipText = @"Import failed, click button to re-import";
break;