fix refactoring mistake
This commit is contained in:
parent
a2e53ecc31
commit
1136fd87b8
1 changed files with 1 additions and 1 deletions
|
@ -1578,7 +1578,7 @@ L.SquareGridLayer = L.Layer.extend({
|
|||
center = (lastCoord+coord)/2;
|
||||
if (size > 0) {
|
||||
this.rows[i].style.display = '';
|
||||
this.rows[i].style.height = (lastCoord-coord)+'px';
|
||||
this.rows[i].style.height = size+'px';
|
||||
this.rows[i].style.paddingRight = Math.max(0, Math.min(36, (center-bottomRightStart)*2)) + 'px';
|
||||
} else {
|
||||
this.rows[i].style.display = 'none';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue