mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
* Fix TextEditView when 'text' set by default
* Fix TextEditView row vs col * Start skeleton on HorizontalMenuView
This commit is contained in:
parent
670bf0fd6e
commit
541be2d65a
8 changed files with 79 additions and 74 deletions
|
@ -24,7 +24,7 @@ function TextView(options) {
|
|||
if(options.maxLength) {
|
||||
this.maxLength = options.maxLength;
|
||||
} else {
|
||||
this.maxLength = this.client.term.termWidth - this.position.row;
|
||||
this.maxLength = this.client.term.termWidth - this.position.col;
|
||||
}
|
||||
|
||||
this.fillChar = miscUtil.valueWithDefault(options.fillChar, ' ').substr(0, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue