Skip to content

Commit 03e06cb

Browse files
committed
bump version to 0.0.135; optimize rendering logic in schema designer
1 parent 53e2172 commit 03e06cb

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "azdataGraph",
33
"description": "azdataGraph is a derivative of mxGraph, which is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.",
4-
"version": "0.0.134",
4+
"version": "0.0.135",
55
"homepage": "https://github.com/microsoft/azdataGraph",
66
"author": "Microsoft",
77
"license": "Apache-2.0",

src/ts/schemaDesigner/schemaDesigner.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,7 @@ export class SchemaDesigner {
693693
this.mxGraph.view.rendering = false;
694694
while (true) {
695695
this.mxGraph.fit(null!);
696-
if (this.mxGraph.view.scale < 1) {
697-
break;
698-
}
696+
this.mxGraph.fit(null!);
699697
}
700698
this.mxGraph.view.rendering = true;
701699
this.autoLayout();

0 commit comments

Comments
 (0)