mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:03:08 +08:00
Update judgement after children have been updated.
This commit is contained in:
parent
b81bf7085f
commit
773d64cd5e
@ -1 +1 @@
|
||||
Subproject commit 3d9bf098319583fc4fbbab5117702d000ad4fb9b
|
||||
Subproject commit f4693d8812e305a41037a3b90495d5db2ac32a16
|
@ -87,9 +87,9 @@ namespace osu.Game.Modes.Objects.Drawables
|
||||
//todo: consider making abstract.
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
protected override void UpdateAfterChildren()
|
||||
{
|
||||
base.Update();
|
||||
base.UpdateAfterChildren();
|
||||
|
||||
UpdateJudgement(false);
|
||||
}
|
||||
|
@ -106,9 +106,9 @@ namespace osu.Game.Overlays.Toolbar
|
||||
|
||||
private Cached activeMode = new Cached();
|
||||
|
||||
protected override void UpdateLayout()
|
||||
protected override void UpdateAfterChildren()
|
||||
{
|
||||
base.UpdateLayout();
|
||||
base.UpdateAfterChildren();
|
||||
|
||||
if (!activeMode.EnsureValid())
|
||||
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X, 200, EasingTypes.OutQuint));
|
||||
|
Loading…
Reference in New Issue
Block a user