-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #592 from CodinGame/fix-standalone-quickinput-loca…
…tion Fix quickinput standalone position
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
vscode-patches/0062-fix-fix-standalone-editor-quick-input-location.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= <[email protected]> | ||
Date: Mon, 3 Mar 2025 15:10:33 +0100 | ||
Subject: [PATCH] fix: fix standalone editor quick input location | ||
|
||
--- | ||
.../browser/quickInput/standaloneQuickInputService.ts | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.ts b/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.ts | ||
index 91f910e3776..ee712836bca 100644 | ||
--- a/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.ts | ||
+++ b/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.ts | ||
@@ -5,7 +5,7 @@ | ||
|
||
import './standaloneQuickInput.css'; | ||
import { Event } from '../../../../base/common/event.js'; | ||
-import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition, OverlayWidgetPositionPreference } from '../../../browser/editorBrowser.js'; | ||
+import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition } from '../../../browser/editorBrowser.js'; | ||
import { EditorContributionInstantiation, registerEditorContribution } from '../../../browser/editorExtensions.js'; | ||
import { IEditorContribution } from '../../../common/editorCommon.js'; | ||
import { IThemeService } from '../../../../platform/theme/common/themeService.js'; | ||
@@ -200,7 +200,7 @@ export class QuickInputEditorWidget implements IOverlayWidget { | ||
} | ||
|
||
getPosition(): IOverlayWidgetPosition | null { | ||
- return { preference: OverlayWidgetPositionPreference.TOP_CENTER }; | ||
+ return { preference: null }; | ||
} | ||
|
||
dispose(): void { |
bd5f692
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://monaco-vscode-api.netlify.app as production
🚀 Deployed on https://67c5cba67091753837482d54--monaco-vscode-api.netlify.app