fix the text colour not being correct issues
This commit is contained in:
parent
6ec818fc11
commit
2fbf2eef3c
|
|
@ -137,7 +137,7 @@ export function TextEditOverlay({
|
||||||
textAlign: element.textAlign,
|
textAlign: element.textAlign,
|
||||||
letterSpacing: `${canvasLetterSpacing}px`,
|
letterSpacing: `${canvasLetterSpacing}px`,
|
||||||
lineHeight,
|
lineHeight,
|
||||||
color: "transparent",
|
color: element.color,
|
||||||
caretColor: element.color,
|
caretColor: element.color,
|
||||||
backgroundColor: shouldShowBackground ? bg.color : "transparent",
|
backgroundColor: shouldShowBackground ? bg.color : "transparent",
|
||||||
minHeight: lineHeightPx,
|
minHeight: lineHeightPx,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue