Skip to content

Commit

Permalink
perf(scroll): efficient scroll events and properties
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Dec 5, 2016
1 parent 32b7617 commit c377236
Show file tree
Hide file tree
Showing 15 changed files with 1,014 additions and 497 deletions.
4 changes: 2 additions & 2 deletions src/components/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down
Loading

0 comments on commit c377236

Please sign in to comment.