mattpass/ICEcoder — Issue #8: Keydown issue
Author: mattpass
Created: 2012-02-17 07:54:46+00:00
State: open

Pressing CTRL+Enter opens new window. Close that window to return to ICE coder. Press Enter alone and it will open a new window. S alone will save, F alone will Find etc.

This is because while the focus is lost by opening a new window, the CTRL key is still registered as being down via the ctrlKeyDown var.

Solution is to turn the bool on the var to false, even though key is down to prevent any locking/sticking.