Fixes scroll helper. Does not work on mac.

This commit is contained in:
Jacob Schatz 2017-07-22 10:15:16 -04:00
parent f1d9be0ac1
commit 6622cde66f

View file

@ -16,7 +16,7 @@ const ScrollHelper = {
$rulerContainer.appendTo('body'); $rulerContainer.appendTo('body');
const scrollWidth = $ruler.outerWidth(); const scrollWidth = $ruler.get(0).offsetWidth;
$rulerContainer.remove(); $rulerContainer.remove();