better responsivness #2416

This commit is contained in:
2024-02-05 11:58:01 +01:00
parent 40dbbb2384
commit b2614bf755
3 changed files with 78 additions and 20 deletions

View File

@@ -21,6 +21,10 @@ export const CommonStore = defineStore({
// mode can be : terraindevie, proximite, superposition, puissancedagir, action, doleancer
this.hover_elmt = elmt;
},
setOriginalCartoucheWidth (w) {
console.log('CommonStore setOriginalCartoucheWidth', w);
this.original_cartouch_width = w;
},
setCartoucheWidth (delta) {
console.log('CommonStore setCartoucheWidth', delta);
this.cartouch_width = this.original_cartouch_width * delta;