This commit is contained in:
Horis committed 2024-03-07 10:12:51 +08:00
1 parent 65fabd8324
commit 984f4528f2
1 file changed
+3 -3
@@ -215,11 +215,11 @@ data class TextLine(
if (exceed || !onlyTextColumn || textPage.isMsgPage) { if (exceed || !onlyTextColumn || textPage.isMsgPage) {
return false return false
} }
if (!atLeastApi26 && wordSpacing != 0f) { if (wordSpacing != 0f) {
return false if (!atLeastApi26 || !wordSpacingWorking) {
} else if (!wordSpacingWorking) {
return false return false
} }
}
return searchResultColumnCount == 0 return searchResultColumnCount == 0
} }