mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 16:02:58 +08:00
Fix a few cases of missed instant invocation
This commit is contained in:
parent
aac371ba6e
commit
594dffba41
@ -60,7 +60,7 @@ namespace osu.Game.Screens.Multi.Components
|
||||
beatmapAuthor.AddText("mapped by ", s => s.Colour = OsuColour.Gray(0.8f));
|
||||
beatmapAuthor.AddLink(v.Metadata.Author.Username, null, LinkAction.OpenUserProfile, v.Metadata.Author.Id.ToString(), "View Profile");
|
||||
}
|
||||
});
|
||||
}, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -46,8 +46,8 @@ namespace osu.Game.Screens.Multi.Components
|
||||
};
|
||||
|
||||
CurrentBeatmap.BindValueChanged(_ => updateBeatmap());
|
||||
CurrentRuleset.BindValueChanged(_ => updateBeatmap());
|
||||
Type.BindValueChanged(v => gameTypeContainer.Child = new DrawableGameType(v) { Size = new Vector2(height) });
|
||||
CurrentRuleset.BindValueChanged(_ => updateBeatmap(), true);
|
||||
Type.BindValueChanged(v => gameTypeContainer.Child = new DrawableGameType(v) { Size = new Vector2(height) }, true);
|
||||
}
|
||||
|
||||
private void updateBeatmap()
|
||||
|
@ -52,9 +52,8 @@ namespace osu.Game.Screens.Multi.Components
|
||||
}
|
||||
};
|
||||
|
||||
Participants.BindValueChanged(v => count.Text = v.Count().ToString());
|
||||
MaxParticipants.BindValueChanged(_ => updateMax(), true);
|
||||
ParticipantCount.BindValueChanged(v => count.Text = v.ToString("#,0"));
|
||||
ParticipantCount.BindValueChanged(v => count.Text = v.ToString("#,0"), true);
|
||||
}
|
||||
|
||||
private void updateMax()
|
||||
|
@ -163,10 +163,9 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
||||
}
|
||||
};
|
||||
|
||||
Status.BindValueChanged(displayStatus);
|
||||
Name.BindValueChanged(n => name.Text = n);
|
||||
|
||||
RoomID.BindValueChanged(updateRoom);
|
||||
Status.BindValueChanged(displayStatus, true);
|
||||
Name.BindValueChanged(n => name.Text = n, true);
|
||||
RoomID.BindValueChanged(updateRoom, true);
|
||||
}
|
||||
|
||||
private void updateRoom(int? roomId)
|
||||
|
@ -260,8 +260,7 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
processingOverlay = new ProcessingOverlay { Alpha = 0 }
|
||||
};
|
||||
|
||||
TypePicker.Current.ValueChanged += t => typeLabel.Text = t.Name;
|
||||
|
||||
TypePicker.Current.BindValueChanged(t => typeLabel.Text = t?.Name ?? string.Empty, true);
|
||||
Name.BindValueChanged(n => NameField.Text = n, true);
|
||||
Availability.BindValueChanged(a => AvailabilityPicker.Current.Value = a, true);
|
||||
Type.BindValueChanged(t => TypePicker.Current.Value = t, true);
|
||||
|
@ -59,7 +59,7 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
Width = 300,
|
||||
OnLoadComplete = d => d.FadeInFromZero(60),
|
||||
}).ToList();
|
||||
});
|
||||
}, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user