perf(scroll): efficient scroll events and properties

This commit is contained in:
Adam Bradley
2016-12-05 16:50:05 -06:00
parent 32b76173a2
commit c377236dcb
15 changed files with 1028 additions and 511 deletions

View File

@@ -161,8 +161,8 @@ export class App {
/**
* @private
*/
setScrolling() {
this._scrollTime = Date.now() + ACTIVE_SCROLLING_TIME;
setScrolling(timeStamp: number) {
this._scrollTime = timeStamp + ACTIVE_SCROLLING_TIME;
}
/**