mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Merge from vscode c58aaab8a1cc22a7139b761166a0d4f37d41e998 (#7880)
* Merge from vscode c58aaab8a1cc22a7139b761166a0d4f37d41e998 * fix pipelines * fix strict-null-checks * add missing files
This commit is contained in:
@@ -53,7 +53,7 @@ export class WebviewContent extends AngularDisposable implements OnInit, IDashbo
|
||||
}
|
||||
|
||||
public layout(): void {
|
||||
this._webview.layout();
|
||||
// no op
|
||||
}
|
||||
|
||||
public get id(): string {
|
||||
@@ -80,7 +80,6 @@ export class WebviewContent extends AngularDisposable implements OnInit, IDashbo
|
||||
this._html = html;
|
||||
if (this._webview) {
|
||||
this._webview.html = html;
|
||||
this._webview.layout();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,6 +112,5 @@ export class WebviewContent extends AngularDisposable implements OnInit, IDashbo
|
||||
if (this._html) {
|
||||
this._webview.html = this._html;
|
||||
}
|
||||
this._webview.layout();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,7 +60,6 @@ export class WebviewWidget extends DashboardWidget implements IDashboardWidget,
|
||||
this._html = html;
|
||||
if (this._webview) {
|
||||
this._webview.html = html;
|
||||
this._webview.layout();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +80,7 @@ export class WebviewWidget extends DashboardWidget implements IDashboardWidget,
|
||||
}
|
||||
|
||||
public layout(): void {
|
||||
this._webview.layout();
|
||||
// no op
|
||||
}
|
||||
|
||||
public sendMessage(message: string): void {
|
||||
@@ -111,6 +110,5 @@ export class WebviewWidget extends DashboardWidget implements IDashboardWidget,
|
||||
if (this._html) {
|
||||
this._webview.html = this._html;
|
||||
}
|
||||
this._webview.layout();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,14 +43,7 @@ export class BareResultsGridInfo extends BareFontInfo {
|
||||
protected constructor(fontInfo: BareFontInfo, opts: {
|
||||
cellPadding: number | number[];
|
||||
}) {
|
||||
super({
|
||||
zoomLevel: fontInfo.zoomLevel,
|
||||
fontFamily: fontInfo.fontFamily,
|
||||
fontWeight: fontInfo.fontWeight,
|
||||
fontSize: fontInfo.fontSize,
|
||||
lineHeight: fontInfo.lineHeight,
|
||||
letterSpacing: fontInfo.letterSpacing
|
||||
});
|
||||
super(fontInfo);
|
||||
this.cellPadding = opts.cellPadding;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user