mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Update judgement after children have been updated.
This commit is contained in:
Submodule osu-framework updated: 3d9bf09831...f4693d8812
@ -87,9 +87,9 @@ namespace osu.Game.Modes.Objects.Drawables
|
|||||||
//todo: consider making abstract.
|
//todo: consider making abstract.
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Update()
|
protected override void UpdateAfterChildren()
|
||||||
{
|
{
|
||||||
base.Update();
|
base.UpdateAfterChildren();
|
||||||
|
|
||||||
UpdateJudgement(false);
|
UpdateJudgement(false);
|
||||||
}
|
}
|
||||||
|
@ -106,9 +106,9 @@ namespace osu.Game.Overlays.Toolbar
|
|||||||
|
|
||||||
private Cached activeMode = new Cached();
|
private Cached activeMode = new Cached();
|
||||||
|
|
||||||
protected override void UpdateLayout()
|
protected override void UpdateAfterChildren()
|
||||||
{
|
{
|
||||||
base.UpdateLayout();
|
base.UpdateAfterChildren();
|
||||||
|
|
||||||
if (!activeMode.EnsureValid())
|
if (!activeMode.EnsureValid())
|
||||||
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X, 200, EasingTypes.OutQuint));
|
activeMode.Refresh(() => modeButtonLine.MoveToX(activeButton.DrawPosition.X, 200, EasingTypes.OutQuint));
|
||||||
|
Reference in New Issue
Block a user