don't assume config
This commit is contained in:
parent
c1e602d56f
commit
a910f46c5b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class FixedDistributor {
|
|||
this.sizer = sizer;
|
||||
this.item = item;
|
||||
this.beforeOffset = sizer.getItemOffset(this.item);
|
||||
this.onResized = config.onResized;
|
||||
this.onResized = config && config.onResized;
|
||||
}
|
||||
|
||||
resize(offset) {
|
||||
|
|
Loading…
Reference in a new issue