@markdy/renderer-dom 1.4.21 → 1.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7273,7 +7273,7 @@ function createDiagram(opts) {
|
|
|
7273
7273
|
let dragMoved = false;
|
|
7274
7274
|
let suppressNextClick = false;
|
|
7275
7275
|
const explicitFit = defaultFit ?? explicitFitOption;
|
|
7276
|
-
let fitViewActive = explicitFit !== void 0 ? Boolean(explicitFit) : plan.meta.player?.controls?.fit !== void 0 ? Boolean(plan.meta.player.controls.fit) : opts.fitMode === "contain"
|
|
7276
|
+
let fitViewActive = explicitFit !== void 0 ? Boolean(explicitFit) : plan.meta.player?.controls?.fit !== void 0 ? Boolean(plan.meta.player.controls.fit) : opts.fitMode === "contain";
|
|
7277
7277
|
if (fitViewActive) {
|
|
7278
7278
|
cameraLayer.style.setProperty("transform", "none", "important");
|
|
7279
7279
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/renderer-dom",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.22",
|
|
4
4
|
"description": "Browser renderer for diagram-native animated MarkdyScript architecture diagrams, built on the Web Animations API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@markdy/core": "
|
|
47
|
+
"@markdy/core": "1.4.22",
|
|
48
48
|
"html2canvas": "^1.4.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|