GLVis / glvis

Lightweight OpenGL tool for accurate and flexible finite element visualization
http://glvis.org
BSD 3-Clause "New" or "Revised" License
263 stars 53 forks source link

Fix an issue when `numlock` is on #300

Closed v-dobrev closed 4 months ago

v-dobrev commented 4 months ago

When handling key-down events, do not let the state of keys like numlock influence the logic.

Currently, if numlock is on, keys like P and O are precessed in keyDownEvent whereas the intent is for them to be proceesed in textInputEvent.

Reported-by: @najlkin