We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e768c commit 10d960bCopy full SHA for 10d960b
src/lib/react-minimap/react-minimap.js
@@ -38,7 +38,7 @@ export class Minimap extends React.Component {
38
this.init = this.init.bind(this);
39
this.up = this.up.bind(this);
40
41
- this.resize = _.throttle(this.synchronize, 100);
+ this.resize = _.throttle(this.synchronize, 200);
42
43
this.state = {
44
children: null,
@@ -333,7 +333,7 @@ export class Minimap extends React.Component {
333
return (
334
<div
335
className={"minimap-container " + this.props.className}
336
- onScroll={this.synchronize}
+ onScroll={this.resize}
337
ref={(source) => {this.source = source;}}
338
>
339
<div className="minimap-children-wrapper">
0 commit comments