mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
parent
4484aca8e1
commit
9deb569441
@ -321,7 +321,7 @@ keystroke(const MouseWatcherParameter ¶m, bool background) {
|
||||
|
||||
int keycode = param.get_keycode();
|
||||
|
||||
if (!isascii(keycode) || isprint(keycode)) {
|
||||
if ((!isascii(keycode) || isprint(keycode)) && keycode != '\t') {
|
||||
// A normal visible character. Add a new character to the text entry,
|
||||
// if there's room.
|
||||
if (!_candidate_wtext.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user