@mindexec/cli 0.2.289 → 0.2.290
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
const DEBUG = false;
|
|
6
6
|
const FPS_DEBUG = false;
|
|
7
7
|
const FRAME_PERF_DEBUG = false;
|
|
8
|
-
const MINDMAP_CORE_BUILD_ID = '20260620-css3d-flat-wheel-
|
|
8
|
+
const MINDMAP_CORE_BUILD_ID = '20260620-css3d-flat-wheel-v736';
|
|
9
9
|
const CanvasPhase = Object.freeze({
|
|
10
10
|
Booting: 'booting',
|
|
11
11
|
BoardFileLoading: 'board-file-loading',
|
|
@@ -4173,11 +4173,38 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4173
4173
|
};
|
|
4174
4174
|
}
|
|
4175
4175
|
|
|
4176
|
+
_placeBackgroundGridLayer(layer) {
|
|
4177
|
+
if (!layer || !this.container) {
|
|
4178
|
+
return false;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
const webglElement = this.renderer?.domElement;
|
|
4182
|
+
const cssElement = this.cssRenderer?.domElement;
|
|
4183
|
+
const anchorElement =
|
|
4184
|
+
webglElement?.parentNode === this.container
|
|
4185
|
+
? webglElement
|
|
4186
|
+
: cssElement?.parentNode === this.container
|
|
4187
|
+
? cssElement
|
|
4188
|
+
: null;
|
|
4189
|
+
|
|
4190
|
+
if (anchorElement) {
|
|
4191
|
+
if (layer.parentNode !== this.container ||
|
|
4192
|
+
layer.nextSibling !== anchorElement) {
|
|
4193
|
+
this.container.insertBefore(layer, anchorElement);
|
|
4194
|
+
}
|
|
4195
|
+
} else if (layer.parentNode !== this.container) {
|
|
4196
|
+
this.container.insertBefore(layer, this.container.firstChild || null);
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4199
|
+
return layer.parentNode === this.container;
|
|
4200
|
+
}
|
|
4201
|
+
|
|
4176
4202
|
_ensureLocalSnapGridLayer() {
|
|
4177
4203
|
if (!this.container || typeof document === 'undefined') {
|
|
4178
4204
|
return null;
|
|
4179
4205
|
}
|
|
4180
4206
|
if (this._localSnapGridLayer?.isConnected) {
|
|
4207
|
+
this._placeBackgroundGridLayer(this._localSnapGridLayer);
|
|
4181
4208
|
return this._localSnapGridLayer;
|
|
4182
4209
|
}
|
|
4183
4210
|
|
|
@@ -4203,12 +4230,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4203
4230
|
layer.style.transform = 'translate3d(0, 0, 0)';
|
|
4204
4231
|
layer.style.transition = 'none';
|
|
4205
4232
|
|
|
4206
|
-
|
|
4207
|
-
if (cssElement?.parentNode === this.container) {
|
|
4208
|
-
this.container.insertBefore(layer, cssElement);
|
|
4209
|
-
} else {
|
|
4210
|
-
this.container.appendChild(layer);
|
|
4211
|
-
}
|
|
4233
|
+
this._placeBackgroundGridLayer(layer);
|
|
4212
4234
|
|
|
4213
4235
|
this._localSnapGridLayer = layer;
|
|
4214
4236
|
this._lastLocalSnapGridKey = '';
|
|
@@ -4584,6 +4606,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4584
4606
|
return null;
|
|
4585
4607
|
}
|
|
4586
4608
|
if (this._motionGridLayer?.isConnected) {
|
|
4609
|
+
this._placeBackgroundGridLayer(this._motionGridLayer);
|
|
4587
4610
|
return this._motionGridLayer;
|
|
4588
4611
|
}
|
|
4589
4612
|
|
|
@@ -4602,12 +4625,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4602
4625
|
layer.style.transform = 'translate3d(0, 0, 0)';
|
|
4603
4626
|
layer.style.transition = 'none';
|
|
4604
4627
|
|
|
4605
|
-
|
|
4606
|
-
if (cssElement?.parentNode === this.container) {
|
|
4607
|
-
this.container.insertBefore(layer, cssElement);
|
|
4608
|
-
} else {
|
|
4609
|
-
this.container.appendChild(layer);
|
|
4610
|
-
}
|
|
4628
|
+
this._placeBackgroundGridLayer(layer);
|
|
4611
4629
|
|
|
4612
4630
|
this._motionGridLayer = layer;
|
|
4613
4631
|
this._lastMotionGridKey = '';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
self.assetsManifest = {
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "vi01tz7I",
|
|
3
3
|
"assets": [
|
|
4
4
|
{
|
|
5
5
|
"hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"url": "_content/MindExecution.Shared/js/marked.min.js"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
"hash": "sha256-
|
|
81
|
+
"hash": "sha256-ISEggFRt/bAkomXZWDQTrm3AQdkKZTQMfSeGpV2Sggo=",
|
|
82
82
|
"url": "_content/MindExecution.Shared/js/mind-map-core.js"
|
|
83
83
|
},
|
|
84
84
|
{
|