Skip to content
Snippets Groups Projects
Commit 6d2a8eed authored by Fabian Homborg's avatar Fabian Homborg
Browse files

Fix bug in spirallayout addTile

parent 259efc71
No related branches found
No related tags found
No related merge requests found
......@@ -87,9 +87,10 @@ SpiralLayout.prototype.addTile = function() {
newRect.width = splitX;
break;
}
this.tiles[this.tiles.length - 1].rectangle = lastRect;
this._createTile(newRect);
}
var lastRect = this.tiles[this.tiles.length - 1].rectangle;
//var lastRect = this.tiles[this.tiles.length - 1].rectangle;
}
SpiralLayout.prototype.removeTile = function(tileIndex) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment