mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Fix some handling of height, itemSpacing, etc. in VerticalMenuView
* Change auto scale to be height/width dependent
This commit is contained in:
parent
7fc4858959
commit
37adeb5f90
4 changed files with 19 additions and 44 deletions
|
@ -119,7 +119,7 @@ function pad(s, len, padChar, dir, stringSGR, padSGR) {
|
|||
stringSGR = miscUtil.valueWithDefault(stringSGR, '');
|
||||
padSGR = miscUtil.valueWithDefault(padSGR, '');
|
||||
|
||||
var padlen = len - s.length;
|
||||
var padlen = len >= s.length ? len - s.length : 0;
|
||||
|
||||
switch(dir) {
|
||||
case 'L' :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue