Browse Source

Fixes #2333 Scrollbar width on browser zoom (#2344)

codeClimate
Garrett Loy 8 years ago
committed by Alexander Wunschik
parent
commit
44df7e5a64
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/timeline/Core.js

+ 1
- 0
lib/timeline/Core.js View File

@ -1087,6 +1087,7 @@ Core.prototype._startAutoResize = function () {
(me.dom.root.offsetHeight != me.props.lastHeight)) {
me.props.lastWidth = me.dom.root.offsetWidth;
me.props.lastHeight = me.dom.root.offsetHeight;
me.props.scrollbarWidth = util.getScrollBarWidth();
me.body.emitter.emit('_change');
}

Loading…
Cancel
Save