mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 01:03:21 +08:00
Change where BindValueChange is immediately run
This commit is contained in:
parent
7f2fdac50e
commit
c54a515b3e
@ -190,6 +190,8 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
tabsBg.Colour = colours.Gray3;
|
||||
|
||||
State.BindValueChanged(_ => updateDownloadButtons());
|
||||
|
||||
BeatmapSet.BindValueChanged(beatmapSet =>
|
||||
{
|
||||
Picker.BeatmapSet = author.BeatmapSet = Details.BeatmapSet = beatmapSet;
|
||||
@ -211,9 +213,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
}
|
||||
|
||||
updateDownloadButtons();
|
||||
});
|
||||
|
||||
State.BindValueChanged(_ => updateDownloadButtons(), true);
|
||||
}, true);
|
||||
}
|
||||
|
||||
private void updateDownloadButtons()
|
||||
|
Loading…
Reference in New Issue
Block a user