@c4h/chuci 0.2.3 → 0.2.4
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/chuci.js
CHANGED
|
@@ -21129,7 +21129,7 @@ class a_ extends os {
|
|
|
21129
21129
|
${this.modelUrl ? `
|
|
21130
21130
|
${this.isLoading ? '<div class="loading">Loading...</div>' : ""}
|
|
21131
21131
|
${!this.isLoading && this.debugMode ? `
|
|
21132
|
-
<div class="debug-info" style="z-index:
|
|
21132
|
+
<div class="debug-info" style="z-index: calc(var(--cc-viewer-z-index-each, 1000) + 5);">
|
|
21133
21133
|
Camera Position: ${this.getCameraDebugInfo()}<br>
|
|
21134
21134
|
Camera Target: ${this.getTargetDebugInfo()}<br>
|
|
21135
21135
|
Controls: Rotate (drag), Zoom (scroll), Pan (right-drag)
|
|
@@ -21200,7 +21200,7 @@ class a_ extends os {
|
|
|
21200
21200
|
font-size: 12px;
|
|
21201
21201
|
border-radius: 4px;
|
|
21202
21202
|
pointer-events: none;
|
|
21203
|
-
z-index:
|
|
21203
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 10);
|
|
21204
21204
|
}
|
|
21205
21205
|
|
|
21206
21206
|
.texture-toggle {
|
|
@@ -21214,7 +21214,7 @@ class a_ extends os {
|
|
|
21214
21214
|
cursor: pointer;
|
|
21215
21215
|
border-radius: 4px;
|
|
21216
21216
|
transition: background 0.3s;
|
|
21217
|
-
z-index:
|
|
21217
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 10);
|
|
21218
21218
|
pointer-events: auto;
|
|
21219
21219
|
}
|
|
21220
21220
|
|
|
@@ -21394,7 +21394,7 @@ class o_ extends os {
|
|
|
21394
21394
|
width: 100%;
|
|
21395
21395
|
height: 100%;
|
|
21396
21396
|
background-color: rgba(0, 0, 0, 0.9);
|
|
21397
|
-
z-index: 1000;
|
|
21397
|
+
z-index: var(--cc-viewer-z-index-each, 1000);
|
|
21398
21398
|
}
|
|
21399
21399
|
|
|
21400
21400
|
.viewer {
|
|
@@ -21461,7 +21461,7 @@ class o_ extends os {
|
|
|
21461
21461
|
pointer-events: none;
|
|
21462
21462
|
white-space: pre-line;
|
|
21463
21463
|
min-width: 200px;
|
|
21464
|
-
z-index:
|
|
21464
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 3);
|
|
21465
21465
|
}
|
|
21466
21466
|
|
|
21467
21467
|
${this.getNavigationStyles()}
|
package/dist/chuci.umd.js
CHANGED
|
@@ -4247,7 +4247,7 @@ void main() {
|
|
|
4247
4247
|
${this.modelUrl?`
|
|
4248
4248
|
${this.isLoading?'<div class="loading">Loading...</div>':""}
|
|
4249
4249
|
${!this.isLoading&&this.debugMode?`
|
|
4250
|
-
<div class="debug-info" style="z-index:
|
|
4250
|
+
<div class="debug-info" style="z-index: calc(var(--cc-viewer-z-index-each, 1000) + 5);">
|
|
4251
4251
|
Camera Position: ${this.getCameraDebugInfo()}<br>
|
|
4252
4252
|
Camera Target: ${this.getTargetDebugInfo()}<br>
|
|
4253
4253
|
Controls: Rotate (drag), Zoom (scroll), Pan (right-drag)
|
|
@@ -4314,7 +4314,7 @@ void main() {
|
|
|
4314
4314
|
font-size: 12px;
|
|
4315
4315
|
border-radius: 4px;
|
|
4316
4316
|
pointer-events: none;
|
|
4317
|
-
z-index:
|
|
4317
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 10);
|
|
4318
4318
|
}
|
|
4319
4319
|
|
|
4320
4320
|
.texture-toggle {
|
|
@@ -4328,7 +4328,7 @@ void main() {
|
|
|
4328
4328
|
cursor: pointer;
|
|
4329
4329
|
border-radius: 4px;
|
|
4330
4330
|
transition: background 0.3s;
|
|
4331
|
-
z-index:
|
|
4331
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 10);
|
|
4332
4332
|
pointer-events: auto;
|
|
4333
4333
|
}
|
|
4334
4334
|
|
|
@@ -4355,7 +4355,7 @@ void main() {
|
|
|
4355
4355
|
width: 100%;
|
|
4356
4356
|
height: 100%;
|
|
4357
4357
|
background-color: rgba(0, 0, 0, 0.9);
|
|
4358
|
-
z-index: 1000;
|
|
4358
|
+
z-index: var(--cc-viewer-z-index-each, 1000);
|
|
4359
4359
|
}
|
|
4360
4360
|
|
|
4361
4361
|
.viewer {
|
|
@@ -4422,7 +4422,7 @@ void main() {
|
|
|
4422
4422
|
pointer-events: none;
|
|
4423
4423
|
white-space: pre-line;
|
|
4424
4424
|
min-width: 200px;
|
|
4425
|
-
z-index:
|
|
4425
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 3);
|
|
4426
4426
|
}
|
|
4427
4427
|
|
|
4428
4428
|
${this.getNavigationStyles()}
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export class CcViewer3DModel extends CcViewerBase {
|
|
|
74
74
|
`
|
|
75
75
|
${this.isLoading ? '<div class="loading">Loading...</div>' : ''}
|
|
76
76
|
${!this.isLoading && this.debugMode ? `
|
|
77
|
-
<div class="debug-info" style="z-index:
|
|
77
|
+
<div class="debug-info" style="z-index: calc(var(--cc-viewer-z-index-each, 1000) + 5);">
|
|
78
78
|
Camera Position: ${this.getCameraDebugInfo()}<br>
|
|
79
79
|
Camera Target: ${this.getTargetDebugInfo()}<br>
|
|
80
80
|
Controls: Rotate (drag), Zoom (scroll), Pan (right-drag)
|
|
@@ -150,7 +150,7 @@ export class CcViewer3DModel extends CcViewerBase {
|
|
|
150
150
|
font-size: 12px;
|
|
151
151
|
border-radius: 4px;
|
|
152
152
|
pointer-events: none;
|
|
153
|
-
z-index:
|
|
153
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 10);
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.texture-toggle {
|
|
@@ -164,7 +164,7 @@ export class CcViewer3DModel extends CcViewerBase {
|
|
|
164
164
|
cursor: pointer;
|
|
165
165
|
border-radius: 4px;
|
|
166
166
|
transition: background 0.3s;
|
|
167
|
-
z-index:
|
|
167
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 10);
|
|
168
168
|
pointer-events: auto;
|
|
169
169
|
}
|
|
170
170
|
|
|
@@ -75,7 +75,7 @@ export class CcViewerGaussian extends CcViewerBase {
|
|
|
75
75
|
width: 100%;
|
|
76
76
|
height: 100%;
|
|
77
77
|
background-color: rgba(0, 0, 0, 0.9);
|
|
78
|
-
z-index: 1000;
|
|
78
|
+
z-index: var(--cc-viewer-z-index-each, 1000);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.viewer {
|
|
@@ -142,7 +142,7 @@ export class CcViewerGaussian extends CcViewerBase {
|
|
|
142
142
|
pointer-events: none;
|
|
143
143
|
white-space: pre-line;
|
|
144
144
|
min-width: 200px;
|
|
145
|
-
z-index:
|
|
145
|
+
z-index: calc(var(--cc-viewer-z-index-each, 1000) + 3);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
${this.getNavigationStyles()}
|