Просмотр исходного кода

#2204 restore mapitem position when scale back to zoom_detaille 1

bach 2 месяцев назад
Родитель
Сommit
fe55f6dbf9

+ 1 - 0
src/components/ConcernementMapItem.vue

@@ -739,6 +739,7 @@ export default {
         this.body.collisionFilter.mask = 0x0004;
       } else {
         this.body.collisionFilter.mask = 0x0001;
+        this.resetMapItemPosition();
       }
     },
     /*

+ 1 - 1
src/components/contents/TerrainDeVie.vue

@@ -29,7 +29,7 @@ export default {
       entite: null,
       history_value: 0,
       history_slider_ops: null,
-      details_value: 0,
+      details_value: 1,
       details_slider_ops: null,
       infos_opened: false,
       chevronright_path: mdiChevronRight,