Compare commits

..

No commits in common. "4ea6e7715125e0a00ca5993b623b986cfe79abd0" and "11d732e117b53f433d96dedd5812a7d7aabcd440" have entirely different histories.

View File

@ -379,10 +379,7 @@ export function useMovementSetting(id) {
let linePosition = result.position
//console.log("1111linePosition:::::", direction, linePosition);
// [라디오 토글 drift 2026-05-12] strict y1===y2 는 (-1153,-1153.1) 같은 0.1 drift 케이스에서
// false → 수직 분기로 떨어져 top/bottom 라디오 갱신 코드 미실행 → 桁을 上げる 고정 버그.
// line 311 과 동일한 tolerance(0.5) 적용.
if (Math.abs(target.y1 - target.y2) < 0.5) {
if (target.y1 === target.y2) {
//수평벽
const setRadioStates = (isUp) => {
@ -850,10 +847,7 @@ export function useMovementSetting(id) {
.filter((line) => Math.sqrt(Math.pow(line.line.x2 - line.line.x1, 2) + Math.pow(line.line.y2 - line.line.y1, 2)) >= 1)
.forEach((targetItem, __iter) => {
const currentLine = targetItem.line
// [방향 가드 drift 2026-05-12] strict y1===y2 는 UI/Big.js round 로 (-1153, -1153.1) 같은
// 0.1 drift 케이스에서 false → 수직 오판정 → FIX-2 가드가 정상 수평 라인을 skip.
// 동일 파일 line 575 (Math.abs<0.2) 와 feedback_same_point_tolerance 메모리에 맞춰 0.5 tolerance.
const __horizCurr = Math.abs(currentLine.y1 - currentLine.y2) < 0.5
const __horizCurr = currentLine.y1 === currentLine.y2
// [FIX-2] UP_DOWN 한정: mixed-orientation 가드. linePosition 가족과 currentLine 방향 불일치 → 이 라인 skip.
// FLOW_LINE 에서는 lineVector 가 이미 방향별로 targetBaseLines 를 필터링 → 별도 가드 불필요.