guy 7 years ago
parent
commit
4b75974ffb
  1. 8
      dist/base.js
  2. 4
      src/base/collection/collection.js
  3. 4
      src/base/grid/grid.js

8
dist/base.js vendored

@ -21678,9 +21678,9 @@ BI.Collection = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollLeft = BI.clamp(scrollLeft || 0, 0, this._getMaxScrollLeft());
this.element.scrollLeft(this.options.scrollLeft);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollLeft(this.options.scrollLeft);
},
setScrollTop: function (scrollTop) {
@ -21689,9 +21689,9 @@ BI.Collection = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this.element.scrollTop(this.options.scrollTop);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop);
},
setOverflowX: function (b) {
@ -24900,9 +24900,9 @@ BI.Grid = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollLeft = BI.clamp(scrollLeft || 0, 0, this._getMaxScrollLeft());
this.element.scrollLeft(this.options.scrollLeft);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollLeft(this.options.scrollLeft);
},
setScrollTop: function (scrollTop) {
@ -24911,9 +24911,9 @@ BI.Grid = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this.element.scrollTop(this.options.scrollTop);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop);
},
setOverflowX: function (b) {

4
src/base/collection/collection.js

@ -223,9 +223,9 @@ BI.Collection = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollLeft = BI.clamp(scrollLeft || 0, 0, this._getMaxScrollLeft());
this.element.scrollLeft(this.options.scrollLeft);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollLeft(this.options.scrollLeft);
},
setScrollTop: function (scrollTop) {
@ -234,9 +234,9 @@ BI.Collection = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this.element.scrollTop(this.options.scrollTop);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop);
},
setOverflowX: function (b) {

4
src/base/grid/grid.js

@ -217,9 +217,9 @@ BI.Grid = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollLeft = BI.clamp(scrollLeft || 0, 0, this._getMaxScrollLeft());
this.element.scrollLeft(this.options.scrollLeft);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollLeft(this.options.scrollLeft);
},
setScrollTop: function (scrollTop) {
@ -228,9 +228,9 @@ BI.Grid = BI.inherit(BI.Widget, {
}
this._scrollLock = true;
this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this.element.scrollTop(this.options.scrollTop);
this._debounceRelease();
this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop);
},
setOverflowX: function (b) {

Loading…
Cancel
Save