diff --git a/andrewbmchugh-flow-panel-1.1.0.unsigned.zip b/andrewbmchugh-flow-panel-1.1.0.unsigned.zip deleted file mode 100644 index 1ca86c6..0000000 Binary files a/andrewbmchugh-flow-panel-1.1.0.unsigned.zip and /dev/null differ diff --git a/andrewbmchugh-flow-panel-1.1.1.unsigned.zip b/andrewbmchugh-flow-panel-1.1.2.unsigned.zip similarity index 65% rename from andrewbmchugh-flow-panel-1.1.1.unsigned.zip rename to andrewbmchugh-flow-panel-1.1.2.unsigned.zip index b2f72a0..413dbcd 100644 Binary files a/andrewbmchugh-flow-panel-1.1.1.unsigned.zip and b/andrewbmchugh-flow-panel-1.1.2.unsigned.zip differ diff --git a/package.json b/package.json index e0eb8af..b798a78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flow", - "version": "1.1.1", + "version": "1.1.2", "description": "Svg flowchart visualization", "scripts": { "build": "webpack -c ./webpack.config.ts --env production", diff --git a/src/components/SvgUpdater.tsx b/src/components/SvgUpdater.tsx index d39916a..a17076f 100644 --- a/src/components/SvgUpdater.tsx +++ b/src/components/SvgUpdater.tsx @@ -59,7 +59,7 @@ function dimensionCoherence(doc: Document) { return { width: viewBox[2] - viewBox[0], height: viewBox[3] - viewBox[1], - scaleDrive: (typeof width == 'string') && !width.includes('%'), + scaleDrive: (typeof width === 'string') && !width.includes('%'), } } else {