mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 03:06:04 +02:00
* Fixes to actionKeys with new focus changes
* Various fixes, minor changes
This commit is contained in:
parent
b15d9a0bf8
commit
b2592d0e71
8 changed files with 63 additions and 84 deletions
|
@ -247,6 +247,9 @@ View.prototype.setFocus = function(focused) {
|
|||
};
|
||||
|
||||
View.prototype.onKeyPress = function(ch, key) {
|
||||
if(false === this.hasFocus) {
|
||||
console.log('doh!');
|
||||
}
|
||||
assert(this.hasFocus, 'View does not have focus');
|
||||
assert(this.acceptsInput, 'View does not accept input');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue