Elffuss BraidHub

kikocis/iscroll public

master · 274 BRawPermalink
1
2 this.scrollerWidth = Math.round(this.scroller.offsetWidth * this.scale);
3 this.scrollerHeight = Math.round(this.scroller.offsetHeight * this.scale);
4
5 this.maxScrollX = this.wrapperWidth - this.scrollerWidth;
6 this.maxScrollY = this.wrapperHeight - this.scrollerHeight;