bx-865-apps #1

Merged
ksenia_mikhailova merged 140 commits from bx-865-apps into main 2024-06-27 15:03:27 +03:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 228f524aa3 - Show all commits

View File

@ -19,7 +19,7 @@ const startToEndPath = ref()
const plan = useFloorplanStore()
const paths = ref<PathItem[]>([])
const finder = new PF.DijkstraFinder();
const finder = new PF.AStarFinder();
const newDraw = () => {
endPoint.value = undefined

View File

@ -27,7 +27,7 @@ export const useFloorplanStore = defineStore('floorplan', {
})
})
return line_data.map(el => {
return el.filter(e => e > 0).length > 0 ? 1 : 0
return el.filter(e => e > 0).length > 10 ? 1 : 0
})
});
} catch (error) {