1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 14:12:54 +08:00

Immediately update selected state

This commit is contained in:
smoogipoo 2020-02-14 21:17:07 +09:00
parent fbc5ffbadb
commit 9eaf372587

View File

@ -76,7 +76,7 @@ namespace osu.Game.Screens.Multi
{
base.LoadComplete();
SelectedItem.BindValueChanged(selected => maskingContainer.BorderThickness = selected.NewValue == Model ? 5 : 0);
SelectedItem.BindValueChanged(selected => maskingContainer.BorderThickness = selected.NewValue == Model ? 5 : 0, true);
beatmap.BindValueChanged(_ => scheduleRefresh());
ruleset.BindValueChanged(_ => scheduleRefresh());