mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:47:52 +08:00
Revert "Always update children when ruleset input manager is updated"
This reverts commit 4eb7a34944
.
This commit is contained in:
parent
4e1b801dd8
commit
9bdb3113ce
@ -121,6 +121,8 @@ namespace osu.Game.Rulesets.UI
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private bool validState;
|
private bool validState;
|
||||||
|
|
||||||
|
protected override bool RequiresChildrenUpdate => base.RequiresChildrenUpdate && validState;
|
||||||
|
|
||||||
private bool isAttached => replayInputHandler != null && !UseParentState;
|
private bool isAttached => replayInputHandler != null && !UseParentState;
|
||||||
|
|
||||||
private const int max_catch_up_updates_per_frame = 50;
|
private const int max_catch_up_updates_per_frame = 50;
|
||||||
|
Loading…
Reference in New Issue
Block a user