|
@@ -276,11 +276,13 @@ const handleMasksUpdate = (skyMask, earthMask, app) => {
|
|
|
if ("antidistorted" in skyMask) {
|
|
|
app.krpanoDom.set(`hotspot[peaklogo].distorted`, skyMask.antidistorted);
|
|
|
if (!skyMask.antidistorted) {
|
|
|
- app.krpanoDom.set(`hotspot[peaklogo].scale`, skyMask.scale * 0.9);
|
|
|
+ // app.krpanoDom.set(`hotspot[peaklogo].scale`, skyMask.scale * 0.9);
|
|
|
+ app.krpanoDom.set(`hotspot[peaklogo].scale`, skyMask.scale * 0.5);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
if (earthMask) {
|
|
|
+ console.error("earthMask");
|
|
|
if ("isShow" in earthMask) {
|
|
|
app.krpanoDom.set(`hotspot[nadirlogo].visible`, Boolean(earthMask.isShow));
|
|
|
}
|
|
@@ -295,7 +297,8 @@ const handleMasksUpdate = (skyMask, earthMask, app) => {
|
|
|
if ("antidistorted" in earthMask) {
|
|
|
app.krpanoDom.set(`hotspot[nadirlogo].distorted`, earthMask.antidistorted);
|
|
|
if (!earthMask.antidistorted) {
|
|
|
- app.krpanoDom.set(`hotspot[nadirlogo].scale`, earthMask.scale * 0.9);
|
|
|
+ // app.krpanoDom.set(`hotspot[nadirlogo].scale`, earthMask.scale * 0.9);
|
|
|
+ app.krpanoDom.set(`hotspot[nadirlogo].scale`, earthMask.scale * 0.5);
|
|
|
}
|
|
|
}
|
|
|
}
|