direction 설정 시 default값 추가

This commit is contained in:
hyojun.choi 2025-05-16 14:39:11 +09:00
parent 0c67a6b212
commit 79e33880ac

View File

@ -1127,6 +1127,9 @@ export const usePolygon = () => {
case 'left':
defense = 'north'
break
default:
defense = 'south'
break
}
pitch = polygon.lines[index]?.attributes?.pitch ?? 0