Merge branch 'dev' of https://github.com/Kujiale-Mobile/PainterCore into dev
This commit is contained in:
commit
e14e847a67
@ -547,7 +547,7 @@ export default class Painter {
|
|||||||
}
|
}
|
||||||
let lineIndex = 0;
|
let lineIndex = 0;
|
||||||
for (let j = 0; j < textArray.length; ++j) {
|
for (let j = 0; j < textArray.length; ++j) {
|
||||||
const preLineLength = Math.ceil(textArray[j].length / linesArray[j]);
|
const preLineLength = Math.floor(textArray[j].length / linesArray[j]);
|
||||||
let start = 0;
|
let start = 0;
|
||||||
let alreadyCount = 0;
|
let alreadyCount = 0;
|
||||||
for (let i = 0; i < linesArray[j]; ++i) {
|
for (let i = 0; i < linesArray[j]; ++i) {
|
||||||
|
|||||||
@ -830,4 +830,4 @@ function setStringPrototype(screenK, scale) {
|
|||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user