This commit is contained in:
Horis 2024-03-07 10:12:51 +08:00
parent 2c97f43ed3
commit c3b7b02f8c

View File

@ -215,10 +215,10 @@ 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
} }