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:
parent
fd0d8b1ce3
commit
33209ecd25
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user