mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -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);
|
||||
|
||||
const currentZoom = queryPlanView.azdataGraphDiagram.graph.view.getScale();
|
||||
const currentZoom = queryPlanView.azdataGraphDiagram.graph.view.getScale() * 100;
|
||||
|
||||
// Setting initial value to graph's current zoom
|
||||
this.customZoomInputBox.value = Math.round(currentZoom).toString();
|
||||
|
||||
Reference in New Issue
Block a user