Skip to content

Commit

Permalink
Merge pull request #76266 from microsoft/rebornix/minimap-slider-clic…
Browse files Browse the repository at this point in the history
…king

Stop propagation on minimap slider
  • Loading branch information
rebornix committed Jun 28, 2019
2 parents a6ab1bf + 68c0903 commit e0526d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/editor/browser/viewParts/minimap/minimap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ export class Minimap extends ViewPart {

this._sliderMouseDownListener = dom.addStandardDisposableListener(this._slider.domNode, 'mousedown', (e) => {
e.preventDefault();
e.stopPropagation();
if (e.leftButton && this._lastRenderData) {

const initialMousePosition = e.posy;
Expand Down

0 comments on commit e0526d5

Please sign in to comment.