mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fixing init value of custom zoom widget (#18331)
This commit is contained in:
@@ -37,7 +37,7 @@ export class CustomZoomWidget extends QueryPlanWidgetBase {
|
|||||||
});
|
});
|
||||||
attachInputBoxStyler(this.customZoomInputBox, this.themeService);
|
attachInputBoxStyler(this.customZoomInputBox, this.themeService);
|
||||||
|
|
||||||
const currentZoom = queryPlanView.azdataGraphDiagram.graph.view.getScale();
|
const currentZoom = queryPlanView.azdataGraphDiagram.graph.view.getScale() * 100;
|
||||||
|
|
||||||
// Setting initial value to graph's current zoom
|
// Setting initial value to graph's current zoom
|
||||||
this.customZoomInputBox.value = Math.round(currentZoom).toString();
|
this.customZoomInputBox.value = Math.round(currentZoom).toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user