Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Need a more flexible event system #19

@Icemic

Description

@Icemic

The current event system is divided into three layers:

  • PIXI events
  • PIXI events encapsulated with React
  • Connect React event of Surface component to the signal system (eg click tap)

In the third layer, the component with click event listener will be set to buttonMode = true, but in most cases this is not appropriate, such as "Click Execute Script" this function, need to listen the entire stage layer, the cursor should be Normal status.
It's a good idea to have components set up their own buttonMode or even kept full control of cursor type.

On the keyboard, wheel events, also need to consider a better solution

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions