mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Move layout and focus ot base class
This commit is contained in:
@@ -151,14 +151,8 @@ class WebviewEditor extends BaseWebviewEditor {
|
||||
public layout(dimension: Dimension): void {
|
||||
if (this._webview) {
|
||||
this.doUpdateContainer();
|
||||
this._webview.layout();
|
||||
}
|
||||
}
|
||||
|
||||
public focus() {
|
||||
if (this._webview) {
|
||||
this._webview.focus();
|
||||
}
|
||||
super.layout(dimension);
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
|
||||
Reference in New Issue
Block a user