From ac6bf7eae38c94295e8484ebf4c3d9815f20fd2c Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Tue, 12 Nov 2024 15:05:19 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=81=EB=8F=84=20=EA=B3=84=EC=82=B0=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/usePolygon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/usePolygon.js b/src/hooks/usePolygon.js index fd8e925d..21c708ee 100644 --- a/src/hooks/usePolygon.js +++ b/src/hooks/usePolygon.js @@ -306,7 +306,7 @@ export const usePolygon = () => { let text = '' - const compassType = (375 - moduleCompass) / 15 + const compassType = (375 - getDegreeInOrientation(moduleCompass)) / 15 if ([1, 25].includes(compassType)) { direction === 'north' ? (text = '北') : direction === 'south' ? (text = '南') : direction === 'west' ? (text = '西') : (text = '東')