From 8aa9dd6777e2aa712f49304f450b000f76c9ec5a Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Wed, 10 Aug 2022 19:05:52 +0800 Subject: [PATCH] Stop overfixing in fetchOverlappingNodes(). (#81) --- Sources/Megrez/4_Span.swift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Sources/Megrez/4_Span.swift b/Sources/Megrez/4_Span.swift index 9d7efb3..7320939 100644 --- a/Sources/Megrez/4_Span.swift +++ b/Sources/Megrez/4_Span.swift @@ -79,12 +79,8 @@ extension Megrez.Compositor { // 再獲取以當前位置結尾或開頭的節點。 let begin: Int = location - min(location, Megrez.Compositor.maxSpanLength - 1) for theLocation in begin..