Project

General

Profile

Bug #421

Key State returning undefined the first time a key is pressed.

Added by Brian Flanagan over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
08/01/2020
Due date:
% Done:

0%

Estimated time:
Affected version:
#1

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved

Fixed.

#2

Updated by David Baldwin over 3 years ago

That wasn't what it was doing. It was returning "undefined" when the function was called until the first time it was pressed. AOZ interpreted this as 'true'.

#3

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

I understand now. I thought you meant WHEN the first key was pressed, not BEFORE. (Note the title "the first time a key is pressed".)

I fixed a different issue based on this ticket, so I'm closing this one. I opened a new ticket for what you meant to ask. (Bug #438)

Also available in: Atom PDF