better responsivness #2416
This commit is contained in:
@@ -149,6 +149,21 @@ export default {
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
map_mode: {
|
||||
handler (n, o) {
|
||||
console.log('concernement watch map_mode', o, n);
|
||||
if(n === "proximite" || n === "superposition"){
|
||||
// as we have two content to show multiply the cartouch with by 2
|
||||
// necessary for mapitem opening scale and position
|
||||
this.setCartoucheWidth(2)
|
||||
}else{
|
||||
// as we have one content to show multiply the cartouch with by 1
|
||||
// necessary for mapitem opening scale and position
|
||||
this.setCartoucheWidth(1)
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
|
||||
},
|
||||
|
Reference in New Issue
Block a user