Skip to content
This repository was archived by the owner on Nov 10, 2018. It is now read-only.
This repository was archived by the owner on Nov 10, 2018. It is now read-only.

Short taps fire tools despite UI "in the way" #681

@SNCPlay42

Description

@SNCPlay42

Running on Android 4.4.2

Repro steps:

  1. Have a tool equipped
  2. Briefly tap a UI element that responds to input (Active = true) - backpack button, jump button, etc

Expected behaviour: the UI element responds to the input (tool is selected, character jumps, etc.) and "consumes" it; the tool does not fire.

Actual behaviour: the UI element responds to the input and the tool fires.

Pressing on the UI element for longer does not cause the issue. (I guess the distinction between TouchTap and TouchLongPress?). The tools I tested with use the Tool.Activated event, not the UserInputService or PlayerMouse objects, which I suspect may be relevant.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions