fix bg decalage #2195

This commit is contained in:
2023-07-07 12:25:53 +02:00
parent 7edb505b96
commit 654843bfc9
2 changed files with 10 additions and 2 deletions

View File

@@ -219,6 +219,16 @@ export default {
let ray = this.map_item_ray;
let pos = {x:0, y:0};
// big global exterior circle to keep center aligned
children.push(new paper.Path.Circle({
center: [0, 0],
radius: ray*3,
style: {
strokeColor: 'rgba(255,255,255,0)',
strokeWidth: 0.5
}
}));
// cercles pointillés
for (let i = 1; i < 9; i++) {
let sw = i === 4 || i === 8 ? 0.5 : 0.25;