mirror of
https://github.com/ppy/osu.git
synced 2026-06-09 03:13:39 +08:00
Add comment regarding HandlePositionalInput
This commit is contained in:
@@ -164,6 +164,9 @@ namespace osu.Game.Screens.Play
|
||||
private ScheduledDelegate pushDebounce;
|
||||
protected VisualSettings VisualSettings;
|
||||
|
||||
// HandlePositionalInput is being set to true here because IsHovered will not update unless we do so.
|
||||
public override bool HandlePositionalInput => true;
|
||||
|
||||
private bool readyForPush => player.LoadState == LoadState.Ready && IsHovered && GetContainingInputManager()?.DraggedDrawable == null;
|
||||
|
||||
private void pushWhenLoaded()
|
||||
|
||||
Reference in New Issue
Block a user