Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Sep 20, 2018
1 parent 023af41 commit 549f13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/hover/modesContentHover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export class ModesContentHoverWidget extends ContentHoverWidget {
const colorChangeListener = model.onDidChangeColor(updateColorPresentations);

this._colorPicker = widget;
this.showAt(new Position(renderRange.startLineNumber, renderColumn), highlightRange, this._shouldFocus);
this.showAt(range.getStartPosition(), range, this._shouldFocus);
this.updateContents(fragment);
this._colorPicker.layout();

Expand Down

0 comments on commit 549f13c

Please sign in to comment.