This commit is contained in:
Bruno Windels 2019-01-11 16:10:35 +01:00
parent 92b9a8cc1f
commit 9456fc040d

View file

@ -69,7 +69,7 @@ export default class ResizeItem {
setSize(size) {
this.sizer.setItemSize(this.domNode, size);
const callback = this.resizer.distributorCtor.onResized;
const callback = this.resizer.distributorCfg.onResized;
if (callback) {
callback(size, this.id, this.domNode);
}
@ -77,7 +77,7 @@ export default class ResizeItem {
clearSize() {
this.sizer.clearItemSize(this.domNode);
const callback = this.resizer.distributorCtor.onResized;
const callback = this.resizer.distributorCfg.onResized;
if (callback) {
callback(null, this.id, this.domNode);
}