dsh-theme-mineradio 2.3.3 → 2.3.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/lib/client.js +6 -4
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -3207,9 +3207,9 @@ function writeWallpaperMask(value) {
|
|
|
3207
3207
|
function readWhale() {
|
|
3208
3208
|
try {
|
|
3209
3209
|
const raw = localStorage.getItem(WHALE_KEY);
|
|
3210
|
-
return raw === null ?
|
|
3210
|
+
return raw === null ? true : raw === "true";
|
|
3211
3211
|
} catch {
|
|
3212
|
-
return
|
|
3212
|
+
return true;
|
|
3213
3213
|
}
|
|
3214
3214
|
}
|
|
3215
3215
|
function writeWhale(value) {
|
|
@@ -3992,9 +3992,11 @@ var MineradioLayer = class {
|
|
|
3992
3992
|
this.specularParallaxDisposer?.();
|
|
3993
3993
|
this.specularParallaxDisposer = void 0;
|
|
3994
3994
|
}
|
|
3995
|
-
/** Mount or drop the particle whale to match enabled + the whale flag.
|
|
3995
|
+
/** Mount or drop the particle whale to match enabled + the whale flag.
|
|
3996
|
+
* Gated on allowMotionFx (balanced and vivid), not the vivid-only
|
|
3997
|
+
* allowDecor, so the golden whale rides along on the default tier. */
|
|
3996
3998
|
syncWhale() {
|
|
3997
|
-
if (this.enabled && this.settings.whale && this.
|
|
3999
|
+
if (this.enabled && this.settings.whale && this.allowMotionFx()) {
|
|
3998
4000
|
if (this.whaleHandle !== void 0) return;
|
|
3999
4001
|
const ambient = document.querySelector("[data-dsh-aqua-ambient]");
|
|
4000
4002
|
if (ambient === null) return;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-theme-mineradio",
|
|
3
3
|
"description": "Mineradio: a cinematic private-visual-radio glass theme for the Web surface — champagne glow, fluid or wallpaper backdrop, unified corners, and motion",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|