fix bg decalage #2195

This commit is contained in:
Bachir Soussi Chiadmi 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 ray = this.map_item_ray;
let pos = {x:0, y:0}; 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 // cercles pointillés
for (let i = 1; i < 9; i++) { for (let i = 1; i < 9; i++) {
let sw = i === 4 || i === 8 ? 0.5 : 0.25; let sw = i === 4 || i === 8 ? 0.5 : 0.25;

View File

@ -15,8 +15,6 @@ import VuePlyr from 'vue-plyr'
import 'vue-plyr/dist/vue-plyr.css' import 'vue-plyr/dist/vue-plyr.css'
const app = createApp(App) const app = createApp(App)
// https://vuejs.org/guide/components/provide-inject.html#provide
app.config.unwrapInjectedRef = true;
const pinia = createPinia() const pinia = createPinia()
pinia.use( ({store}) => { store.router = router } ) pinia.use( ({store}) => { store.router = router } )