mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
inline chat should not bleed into scroll bar (#232812)
This commit is contained in:
@@ -10,7 +10,7 @@ import { isEqual } from '../../../../base/common/resources.js';
|
||||
import { assertType } from '../../../../base/common/types.js';
|
||||
import { ICodeEditor } from '../../../../editor/browser/editorBrowser.js';
|
||||
import { StableEditorBottomScrollState } from '../../../../editor/browser/stableEditorScroll.js';
|
||||
import { EditorLayoutInfo, EditorOption } from '../../../../editor/common/config/editorOptions.js';
|
||||
import { EditorOption } from '../../../../editor/common/config/editorOptions.js';
|
||||
import { Position } from '../../../../editor/common/core/position.js';
|
||||
import { Range } from '../../../../editor/common/core/range.js';
|
||||
import { ScrollType } from '../../../../editor/common/editorCommon.js';
|
||||
@@ -268,10 +268,6 @@ export class InlineChatZoneWidget extends ZoneWidget {
|
||||
// noop
|
||||
}
|
||||
|
||||
protected override _getWidth(info: EditorLayoutInfo): number {
|
||||
return info.width - info.minimap.minimapWidth;
|
||||
}
|
||||
|
||||
override hide(): void {
|
||||
const scrollState = StableEditorBottomScrollState.capture(this.editor);
|
||||
this._scrollUp.disable();
|
||||
|
||||
Reference in New Issue
Block a user