mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 18:32:56 +08:00
Add comment regarding HandlePositionalInput
This commit is contained in:
parent
2ff7aa6c2e
commit
2e9d823af4
@ -164,6 +164,9 @@ namespace osu.Game.Screens.Play
|
|||||||
private ScheduledDelegate pushDebounce;
|
private ScheduledDelegate pushDebounce;
|
||||||
protected VisualSettings VisualSettings;
|
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 bool readyForPush => player.LoadState == LoadState.Ready && IsHovered && GetContainingInputManager()?.DraggedDrawable == null;
|
||||||
|
|
||||||
private void pushWhenLoaded()
|
private void pushWhenLoaded()
|
||||||
|
Loading…
Reference in New Issue
Block a user