Debian Codegraph @

src/snap/refresh.js

raw symbols SCIP
1
2 if ( this.options.snap ) {
3 var snap = this._nearestSnap(this.x, this.y);
4 if ( this.x == snap.x && this.y == snap.y ) {
5 return;
6 }
7
8 this.currentPage = snap;
9 this.scrollTo(snap.x, snap.y);
10 }