|
@@ -227,7 +227,7 @@ export default {
|
|
|
handler: function (val) {
|
|
|
if (val) {
|
|
|
this.$confirm({
|
|
|
- content: this.$i18n.t('mask.is_apply_to_all_pano'),
|
|
|
+ content: this.$i18n.t("mask.is_apply_to_all_pano"),
|
|
|
ok: () => {
|
|
|
this.$store.dispatch("scene/applycustomMaskToAll", "sky");
|
|
|
},
|
|
@@ -243,7 +243,7 @@ export default {
|
|
|
handler: function (val) {
|
|
|
if (val) {
|
|
|
this.$confirm({
|
|
|
- content: this.$i18n.t('mask.is_apply_to_all_pano'),
|
|
|
+ content: this.$i18n.t("mask.is_apply_to_all_pano"),
|
|
|
ok: () => {
|
|
|
this.$store.dispatch("scene/applycustomMaskToAll", "earth");
|
|
|
},
|
|
@@ -316,6 +316,9 @@ export default {
|
|
|
const kr = this.$getKrpano();
|
|
|
if (kr) {
|
|
|
kr.set("hotspot[peaklogo].distorted", anti);
|
|
|
+ if (!anti) {
|
|
|
+ kr.set("hotspot[peaklogo].scale", this.sky.scale * 0.50);
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
handleNadirStatus(status) {
|
|
@@ -341,6 +344,9 @@ export default {
|
|
|
const kr = this.$getKrpano();
|
|
|
if (kr) {
|
|
|
kr.set("hotspot[nadirlogo].distorted", anti);
|
|
|
+ if (!anti) {
|
|
|
+ kr.set("hotspot[peaklogo].scale", this.earth.scale * 0.50);
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
updateCurrentScene() {
|