1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 12:42:54 +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; break;
} }
}; };
State.BindValueChanged(updateTooltip, true);
State.BindValueChanged(state => State.BindValueChanged(state =>
{ {
switch (state.NewValue) switch (state.NewValue)
@ -84,6 +83,7 @@ namespace osu.Game.Screens.Play
break; break;
} }
}, true); }, true);
State.BindValueChanged(updateTooltip, true);
} }
private void saveScore() private void saveScore()
@ -120,7 +120,6 @@ namespace osu.Game.Screens.Play
break; break;
case ImportState.Failed: case ImportState.Failed:
button.State.Value = DownloadState.NotDownloaded;
button.TooltipText = @"Import failed, click button to re-import"; button.TooltipText = @"Import failed, click button to re-import";
break; break;