Fixed issue where existing widget position would be overwritten on gridmap when adding a faux cell to accommodate another widget.

This commit is contained in:
Cosmin Pascu
2014-04-30 04:34:45 -07:00
parent a4f3baf38f
commit 89bce45fc1

View File

@ -3689,7 +3689,10 @@
this.gridmap[col] = [];
}
this.gridmap[col][row] = false;
if( typeof this.gridmap[col][row] === undefined ){
this.gridmap[col][row] = false;
}
this.faux_grid.push(coords);
return this;