Pass a copy of the options to the tiles
This commit is contained in:
parent
23b621492f
commit
139a87de99
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export class TilesCollection extends BaseObservableList {
|
|||
_createTile(entry) {
|
||||
const Tile = this._tileOptions.tileClassForEntry(entry);
|
||||
if (Tile) {
|
||||
return new Tile(entry, this._tileOptions);
|
||||
return new Tile(entry, { ...this._tileOptions });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue