From 04db37c585951c5faf0b7cfbb36ac3197d7a8b08 Mon Sep 17 00:00:00 2001 From: Dongsung Kim Date: Fri, 3 Jan 2025 01:04:26 +0900 Subject: [PATCH] =?UTF-8?q?DirectStrategy.equal=EC=97=90=EC=84=9C=20doLeng?= =?UTF-8?q?thsMatch=20=EC=A1=B0=EA=B1=B4=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Safari 등 검색어 입력 중 Top Hit이 자동 완성 되면 한글 조합이 중단되는 문제 (#29) --- SokIM/DirectStrategy.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/SokIM/DirectStrategy.swift b/SokIM/DirectStrategy.swift index 8fd0739..b711e64 100644 --- a/SokIM/DirectStrategy.swift +++ b/SokIM/DirectStrategy.swift @@ -100,7 +100,6 @@ struct DirectStrategy: Strategy { let doPointersMatch = left.pointerValue == right.pointerValue let doLocationsDiffByOne = abs(left.selectedRange.location - right.selectedRange.location) <= 1 - let doLengthsMatch = left.selectedRange.length == right.selectedRange.length // 별도 처리: 메시지 앱에서 여러 줄 입력 시 location 숫자가 급격하게 변함, 무시 let isMessagesAndNotSelected = @@ -111,6 +110,5 @@ struct DirectStrategy: Strategy { return doIdentifiersMatch && doPointersMatch && (doLocationsDiffByOne || isMessagesAndNotSelected) - && doLengthsMatch } }