resizing window is working

This commit is contained in:
2024-01-30 16:51:40 +01:00
parent 7607fc0e23
commit 40dbbb2384
5 changed files with 360 additions and 79 deletions

View File

@@ -33,7 +33,10 @@ export const CommonStore = defineStore({
// console.log(`addPaperSymbolDefinition ${name}`, path);
// mode can be : terraindevie, proximite, superposition, puissancedagir, action, doleancer
this.paper_symbol_definitions[name] = new paper.SymbolDefinition(path);
},
updateMapItemRay(){
console.log('Common Store updateMapItemRay');
this.map_item_ray = Math.min(window.innerWidth, window.innerHeight) * 0.08;
}
}
})