Skip to content

Commit

Permalink
Use one ScheduleAfterChildren instead
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Nov 17, 2024
1 parent 85dfae6 commit 00fc4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/Input/PassThroughInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected override void LoadComplete()

// allow a frame for children to be prepared before passing input from parent.
// this is especially necessary if our child is a KeyBindingContainer since the key bindings are not prepared until LoadComplete is called on it.
Schedule(() => Schedule(syncInitialState));
ScheduleAfterChildren(syncInitialState);
}

public override bool HandleHoverEvents => parentInputManager != null && UseParentInput ? parentInputManager.HandleHoverEvents : base.HandleHoverEvents;
Expand Down

0 comments on commit 00fc4ff

Please sign in to comment.