Merge branch 'dev' into feature/dev-yj

This commit is contained in:
yjnoh 2025-03-25 16:07:54 +09:00
commit cdaeab1d42

View File

@ -176,6 +176,10 @@ export const usePolygon = () => {
* @param showDirectionText * @param showDirectionText
*/ */
const drawDirectionArrow = (polygon, showDirectionText = true) => { const drawDirectionArrow = (polygon, showDirectionText = true) => {
if (!polygon) {
return
}
if (polygon.points.length < 3) { if (polygon.points.length < 3) {
return return
} }