Fixes scroll helper. Does not work on mac.
This commit is contained in:
parent
f1d9be0ac1
commit
6622cde66f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const ScrollHelper = {
|
|||
|
||||
$rulerContainer.appendTo('body');
|
||||
|
||||
const scrollWidth = $ruler.outerWidth();
|
||||
const scrollWidth = $ruler.get(0).offsetWidth;
|
||||
|
||||
$rulerContainer.remove();
|
||||
|
||||
|
|
Loading…
Reference in a new issue