vim-web 0.3.44-dev.28 → 0.3.44-dev.29
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/style.css
CHANGED
|
@@ -1104,6 +1104,9 @@ video:where(.vim-component,.vim-component *) {
|
|
|
1104
1104
|
--tw-bg-opacity: 1 !important;
|
|
1105
1105
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important;
|
|
1106
1106
|
}
|
|
1107
|
+
.vc-bg-gray {
|
|
1108
|
+
background-color: var(--c-gray);
|
|
1109
|
+
}
|
|
1107
1110
|
.vc-bg-gray-light {
|
|
1108
1111
|
background-color: var(--c-light-gray);
|
|
1109
1112
|
}
|
|
@@ -1310,11 +1313,6 @@ video:where(.vim-component,.vim-component *) {
|
|
|
1310
1313
|
--tw-saturate: saturate(0);
|
|
1311
1314
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1312
1315
|
}
|
|
1313
|
-
.vc-backdrop-blur {
|
|
1314
|
-
--tw-backdrop-blur: blur(8px);
|
|
1315
|
-
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1316
|
-
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1317
|
-
}
|
|
1318
1316
|
.\!vc-transition-opacity {
|
|
1319
1317
|
transition-property: opacity !important;
|
|
1320
1318
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
@@ -131,7 +131,7 @@ export declare class ViewerMaterials {
|
|
|
131
131
|
get outlineAntialias(): boolean;
|
|
132
132
|
set outlineAntialias(value: boolean);
|
|
133
133
|
/**
|
|
134
|
-
* Size of the blur convolution on the selection outline effect.
|
|
134
|
+
* Size of the blur convolution on the selection outline effect. Minimum 2.
|
|
135
135
|
*/
|
|
136
136
|
get outlineBlur(): number;
|
|
137
137
|
set outlineBlur(value: number);
|
package/dist/vim-web.iife.js
CHANGED
|
@@ -48874,14 +48874,14 @@ void main() {
|
|
|
48874
48874
|
this._onUpdate.dispatch();
|
|
48875
48875
|
}
|
|
48876
48876
|
/**
|
|
48877
|
-
* Size of the blur convolution on the selection outline effect.
|
|
48877
|
+
* Size of the blur convolution on the selection outline effect. Minimum 2.
|
|
48878
48878
|
*/
|
|
48879
48879
|
get outlineBlur() {
|
|
48880
48880
|
return this.outline.strokeBlur;
|
|
48881
48881
|
}
|
|
48882
48882
|
set outlineBlur(value) {
|
|
48883
48883
|
if (this.outline.strokeBlur === value) return;
|
|
48884
|
-
this.outline.strokeBlur = value;
|
|
48884
|
+
this.outline.strokeBlur = Math.max(value, 2);
|
|
48885
48885
|
this._onUpdate.dispatch();
|
|
48886
48886
|
}
|
|
48887
48887
|
/**
|
|
@@ -50633,8 +50633,12 @@ void main() {
|
|
|
50633
50633
|
}
|
|
50634
50634
|
frameSphere(sphere, forward) {
|
|
50635
50635
|
const direction = this.getNormalizedDirection(forward);
|
|
50636
|
-
|
|
50637
|
-
const
|
|
50636
|
+
this._camera.frustrumSizeAt(sphere.center);
|
|
50637
|
+
const vFov = this._camera.camPerspective.camera.fov * Math.PI / 180;
|
|
50638
|
+
const vDist = sphere.radius * 1.2 / Math.tan(vFov / 2);
|
|
50639
|
+
const hFov = vFov * this._camera.camPerspective.camera.aspect;
|
|
50640
|
+
const hDist = sphere.radius * 1.2 / Math.tan(hFov / 2);
|
|
50641
|
+
const dist2 = Math.max(vDist, hDist);
|
|
50638
50642
|
const safeDist = Math.max(dist2, this._camera.camPerspective.camera.near * 2);
|
|
50639
50643
|
const pos = direction.multiplyScalar(-safeDist).add(sphere.center);
|
|
50640
50644
|
this.set(pos, sphere.center);
|
|
@@ -75623,7 +75627,7 @@ Averrage Date/Second ${avgDataRatePS} kb
|
|
|
75623
75627
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
75624
75628
|
"div",
|
|
75625
75629
|
{
|
|
75626
|
-
className: "vim-modal vc-absolute vc-inset-0 vc-z-40 vc-flex vc-items-center vc-justify-center vc-bg-overflow vc-
|
|
75630
|
+
className: "vim-modal vc-absolute vc-inset-0 vc-z-40 vc-flex vc-items-center vc-justify-center vc-bg-overflow vc-bg-gray",
|
|
75627
75631
|
onClick: ((_a2 = props.state.current) == null ? void 0 : _a2.canClose) ? () => {
|
|
75628
75632
|
var _a3, _b3;
|
|
75629
75633
|
return (_b3 = (_a3 = state.current) == null ? void 0 : _a3.onClose) == null ? void 0 : _b3.call(_a3);
|