mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 06:31:15 +08:00
remove more personal prettier changes
This commit is contained in:
parent
9e39485e00
commit
3e092392cc
@ -309,7 +309,8 @@ export class Text extends Shape<TextConfig> {
|
|||||||
context.moveTo(lineTranslateX, translateY + lineTranslateY + yOffset);
|
context.moveTo(lineTranslateX, translateY + lineTranslateY + yOffset);
|
||||||
spacesNumber = text.split(' ').length - 1;
|
spacesNumber = text.split(' ').length - 1;
|
||||||
oneWord = spacesNumber === 0;
|
oneWord = spacesNumber === 0;
|
||||||
lineWidth = align === JUSTIFY && !lastLine ? totalWidth - padding * 2 : width;
|
lineWidth =
|
||||||
|
align === JUSTIFY && !lastLine ? totalWidth - padding * 2 : width;
|
||||||
context.lineTo(
|
context.lineTo(
|
||||||
lineTranslateX + Math.round(lineWidth),
|
lineTranslateX + Math.round(lineWidth),
|
||||||
translateY + lineTranslateY + yOffset
|
translateY + lineTranslateY + yOffset
|
||||||
|
Loading…
Reference in New Issue
Block a user