You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The current event system is divided into three layers:
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
The text was updated successfully, but these errors were encountered: