x-hgg-x/arkanoid-go

Menu does not Always React to Keyboard

Closed this issue · 1 comments

In the main menu I can press UP/DOWN but only half of the time will this change the option. Are you not reacting to key events but instead rely on the key state during the frame?

Fixed in 25a746b.

The problem was if the mouse cursor was on a menu text, all keyboard events were ignored.
I have modified the menus so that the mouse events are handled only if the mouse is moved or clicked.