fix: 반시계 6각형 계산 버그 픽스

This commit is contained in:
nalpari 2024-07-05 14:36:25 +09:00
parent 1d15c1917c
commit 394136af4c

View File

@ -572,10 +572,10 @@ export function useMode() {
} }
} else { } else {
newOuterlines.push({ newOuterlines.push({
x1: historyLines.current[i].x1 - 50, x1: historyLines.current[i].x1 + 50,
y1: historyLines.current[i].y1 + 50, y1: historyLines.current[i].y1 - 50,
x2: historyLines.current[i].x2 - 50, x2: historyLines.current[i].x2 + 50,
y2: historyLines.current[i].y2 + 50, y2: historyLines.current[i].y2 - 50,
}) })
} }
} else { } else {
@ -672,10 +672,10 @@ export function useMode() {
} }
} else { } else {
newOuterlines.push({ newOuterlines.push({
x1: historyLines.current[i].x1 - 50, x1: historyLines.current[i].x1 + 50,
y1: historyLines.current[i].y1 + 50, y1: historyLines.current[i].y1 - 50,
x2: historyLines.current[i].x2 - 50, x2: historyLines.current[i].x2 + 50,
y2: historyLines.current[i].y2 + 50, y2: historyLines.current[i].y2 - 50,
}) })
} }
} }