resizing window is working
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user