mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* isSpecialKeyMapped() renamed to isKeyMapped()
* Functional HorizontalMenuView * Minor updates
This commit is contained in:
parent
a1b87c7a60
commit
c1469a1f9c
11 changed files with 81 additions and 23 deletions
|
@ -499,13 +499,13 @@ MultiLineEditTextView.prototype.onKeyPress = function(key, isSpecial) {
|
|||
};
|
||||
|
||||
MultiLineEditTextView.prototype.onSpecialKeyPress = function(keyName) {
|
||||
if(this.isSpecialKeyMapped('up', keyName)) {
|
||||
if(this.isKeyMapped('up', keyName)) {
|
||||
this.cursorUp();
|
||||
} else if(this.isSpecialKeyMapped('down', keyName)) {
|
||||
} else if(this.isKeyMapped('down', keyName)) {
|
||||
this.cursorDown();
|
||||
} else if(this.isSpecialKeyMapped('left', keyName)) {
|
||||
} else if(this.isKeyMapped('left', keyName)) {
|
||||
this.cursorLeft();
|
||||
} else if(this.isSpecialKeyMapped('right', keyName)) {
|
||||
} else if(this.isKeyMapped('right', keyName)) {
|
||||
this.cursorRight();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue