mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 01:25:36 -05:00
fix keyboard focus issues (#16206)
This commit is contained in:
@@ -58,10 +58,6 @@ export class QueryPlanView implements IPanelView {
|
||||
this.container.style.height = dimension.height + 'px';
|
||||
}
|
||||
|
||||
public focus() {
|
||||
this.container.focus();
|
||||
}
|
||||
|
||||
public clear() {
|
||||
if (this.qp) {
|
||||
this.qp.xml = undefined;
|
||||
|
||||
@@ -47,13 +47,6 @@ export class QueryPlanEditor extends EditorPane {
|
||||
this.view.render(parent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets focus on this editor. Specifically, it sets the focus on the hosted text editor.
|
||||
*/
|
||||
public override focus(): void {
|
||||
this.view.focus();
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the internal variable keeping track of the editor's size, and re-calculates the sash position.
|
||||
* To be called when the container of this editor changes size.
|
||||
|
||||
@@ -77,10 +77,6 @@ export class TopOperationsView extends Disposable implements IPanelView {
|
||||
this.table.layout(dimension);
|
||||
}
|
||||
|
||||
public focus(): void {
|
||||
this.table.focus();
|
||||
}
|
||||
|
||||
public clear() {
|
||||
this.dataView.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user