mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 03:25:45 +00:00
fix typo in shrink calculation.
This commit is contained in:
parent
8f6381ddf5
commit
09ec03058e
@ -2804,7 +2804,7 @@ Element.prototype._getShrinkBox = function(xi, xl, yi, yl, get) {
|
|||||||
if (this.screen.autoPadding) {
|
if (this.screen.autoPadding) {
|
||||||
// Maybe just do this no matter what.
|
// Maybe just do this no matter what.
|
||||||
ret.xl += this.ileft;
|
ret.xl += this.ileft;
|
||||||
ret.xi += this.left;
|
ret.xi += this.ileft;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (el.position.top == null && el.position.bottom != null) {
|
if (el.position.top == null && el.position.bottom != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user