mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-08 08:18:00 +08:00
chore: 删除一个 log
This commit is contained in:
parent
7d94f6026c
commit
6a7b58cb5e
@ -956,8 +956,6 @@ export class TextContentParser {
|
|||||||
* @param breakIndex 当前分词的索引
|
* @param breakIndex 当前分词的索引
|
||||||
*/
|
*/
|
||||||
private checkLineWidth(width: number, guess: number, pointer: number) {
|
private checkLineWidth(width: number, guess: number, pointer: number) {
|
||||||
console.log(guess);
|
|
||||||
|
|
||||||
const breakIndex = this.wordBreak.length - 1;
|
const breakIndex = this.wordBreak.length - 1;
|
||||||
if (breakIndex === -1) return true;
|
if (breakIndex === -1) return true;
|
||||||
const rest = width - this.lineWidth;
|
const rest = width - this.lineWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user