on multiple superpositions can switch by clicking on superposed mapitem
This commit is contained in:
@@ -17,7 +17,7 @@ export const CommonStore = defineStore({
|
||||
},
|
||||
actions: {
|
||||
setHoverElmt(elmt) {
|
||||
console.log(`setHoverElmt`, elmt);
|
||||
// console.log(`setHoverElmt`, elmt);
|
||||
// mode can be : terraindevie, proximite, superposition, puissancedagir, action, doleancer
|
||||
this.hover_elmt = elmt;
|
||||
},
|
||||
|
||||
@@ -362,7 +362,7 @@ export const ConcernementsStore = defineStore({
|
||||
if (state) {
|
||||
this.opened_concernement = c;
|
||||
this.opened_concernement.opened_mapitem_id = id;
|
||||
if (c.has_recit) {
|
||||
if (c.has_recit && this.map_mode === "terraindevie") {
|
||||
this.opened_recit = c.recit;
|
||||
}
|
||||
// console.log('openCloseConcernements', this.opened_concernement.opened);
|
||||
|
||||
Reference in New Issue
Block a user