Skip to content

Commit

Permalink
Merge pull request #76144 from microsoft/rebornix/minimap-viewlayer-o…
Browse files Browse the repository at this point in the history
…rdering

Fix #75927.
  • Loading branch information
rebornix authored Jun 25, 2019
2 parents 9670060 + 6bb4a25 commit 52d5d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/browser/viewParts/minimap/minimap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ export class Minimap extends ViewPart {

this._applyLayout();

this._mouseDownListener = dom.addStandardDisposableListener(this._canvas.domNode, 'mousedown', (e) => {
this._mouseDownListener = dom.addStandardDisposableListener(this._domNode.domNode, 'mousedown', (e) => {
e.preventDefault();

const renderMinimap = this._options.renderMinimap;
Expand Down

0 comments on commit 52d5d26

Please sign in to comment.