Closed robinheidrich closed 2 years ago
areaover
, areaout
events added.
Changing cursor is another issue. It seems that no direct way to change cursor during runtime. I use this hack solution:
scene.input.manager.canvas.style.cursor = 'pointer';
See this demo
Looks good, works as intended. I use scene.input.setDefaultCursor('pointer');
instead.
Currently there is no special behavior for the mouse pointer when you hover over an area. There is also no option to change the cursor.
This could be solved as follows:
Add
areaover
andareaout
events to be able to change the cursor by yourself.An option that all areas get a hand cursor when hovering.
That would be a good addition!