We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b19d6af + d823338 commit 41a3e40Copy full SHA for 41a3e40
src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.ts
@@ -109,7 +109,7 @@ export class StandaloneColorPickerWidget extends Disposable implements IContentW
109
super();
110
this._standaloneColorPickerVisible.set(true);
111
this._standaloneColorPickerParticipant = _instantiationService.createInstance(StandaloneColorPickerParticipant, this._editor);
112
- this._position = this._editor._getViewModel()?.getPrimaryCursorState().viewState.position;
+ this._position = this._editor._getViewModel()?.getPrimaryCursorState().modelState.position;
113
const editorSelection = this._editor.getSelection();
114
const selection = editorSelection ?
115
{
0 commit comments