avg-core icon indicating copy to clipboard operation
avg-core copied to clipboard

Need a more flexible event system

Open Icemic opened this issue 7 years ago • 0 comments

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

Icemic avatar Dec 07 '16 16:12 Icemic