This commit is contained in:
@@ -625,8 +625,9 @@ public class CustomScreenManager implements Listener {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 15m9 孤短句末退化: 句末切点 < 55 字(孤短) → 退化到逗号/空格
|
// 15m21 孤短句末退化: 句末切点 < 90 字(稀疏) → 退化到逗号/空格, 仍无→硬切limit
|
||||||
if (best < 55) best = -1;
|
// 旧55太宽松, 75字页没退化致UI一屏(~100)留空。90=UI容量90%, 低于90就退化硬切满屏。
|
||||||
|
if (best < 90) best = -1;
|
||||||
if (best > 0 && best <= limit + tol) return best;
|
if (best > 0 && best <= limit + tol) return best;
|
||||||
for (int i = Math.min(s.length() - 1, limit - 1); i >= 0; i--) {
|
for (int i = Math.min(s.length() - 1, limit - 1); i >= 0; i--) {
|
||||||
char c = s.charAt(i);
|
char c = s.charAt(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user