Skip to content

Commit

Permalink
fix(gutter): gutter resize jump issue (#201)
Browse files Browse the repository at this point in the history
* fix for gutter resize

* removed redundant call to updateGutterWidth
  • Loading branch information
manitzky authored and alexcorre committed Aug 9, 2017
1 parent f2a492d commit 7fabe30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/util/BlameGutter.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ export default class BlameGutter {
}

onResizeMove(e) {
if (!this.resizeStartX) {
return;
}
const delta = e.pageX - this.resizeStartX;
this.updateGutterWidth(this.resizeStartWidth + delta);
}
Expand Down

0 comments on commit 7fabe30

Please sign in to comment.