Skip to content

PGui: adding keyboard keys as click buttons doesn't work unless cursor is above #600

@rdb

Description

@rdb

When adding eg. enter as a click button via directButton.guiItem.setClickButton('enter'), it seems to display the right behaviour when enter is pressed while the button has keyboard focus, but the click event is not fired unless the mouse is hovering over the button.

PGui should not check whether the mouse is above the button in order to respond to "clicks" from the keyboard, which helps with implementing keyboard navigation.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy