mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-07 08:33:21 +00:00
fix(itemHeight): take option as value
This commit is contained in:
parent
d583ccab0b
commit
0038586fa0
@ -80,7 +80,7 @@ function List(options) {
|
||||
}
|
||||
|
||||
if (this.options.itemHeight) {
|
||||
this.style.item.height = 2;
|
||||
this.style.item.height = this.options.itemHeight;
|
||||
}
|
||||
|
||||
this.interactive = options.interactive !== false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user