Browse Source

滚动帧频率

es6
guy 8 years ago
parent
commit
70762c4ec0
  1. 4
      bi/base.js
  2. 4
      docs/base.js
  3. 2
      src/base/collection/collection.js
  4. 2
      src/base/grid/grid.js

4
bi/base.js

@ -2542,7 +2542,7 @@ BI.Collection = BI.inherit(BI.Widget, {
this._scrollLock = false;
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 150);
}, 1000 / 60);
this.container = BI.createWidget({
type: "bi.absolute"
});
@ -14616,7 +14616,7 @@ BI.Grid = BI.inherit(BI.Widget, {
this._scrollLock = false;
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 150);
}, 1000 / 60);
this.container = BI.createWidget({
type: "bi.absolute"
});

4
docs/base.js

@ -2542,7 +2542,7 @@ BI.Collection = BI.inherit(BI.Widget, {
this._scrollLock = false;
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 150);
}, 1000 / 60);
this.container = BI.createWidget({
type: "bi.absolute"
});
@ -14616,7 +14616,7 @@ BI.Grid = BI.inherit(BI.Widget, {
this._scrollLock = false;
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 150);
}, 1000 / 60);
this.container = BI.createWidget({
type: "bi.absolute"
});

2
src/base/collection/collection.js

@ -30,7 +30,7 @@ BI.Collection = BI.inherit(BI.Widget, {
this._scrollLock = false;
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 150);
}, 1000 / 60);
this.container = BI.createWidget({
type: "bi.absolute"
});

2
src/base/grid/grid.js

@ -33,7 +33,7 @@ BI.Grid = BI.inherit(BI.Widget, {
this._scrollLock = false;
this._debounceRelease = BI.debounce(function () {
self._scrollLock = false;
}, 150);
}, 1000 / 60);
this.container = BI.createWidget({
type: "bi.absolute"
});

Loading…
Cancel
Save