|
@@ -1114,9 +1114,9 @@ export class TextEditor {
|
|
|
editAreaPtr: this.editAreaPtr,
|
|
|
char: this.activeCharPlace
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
const style = {
|
|
|
- color: `rgb(${textStyle.R}, ${textStyle.G}, ${textStyle.B})`,
|
|
|
+ color: textStyle.color,
|
|
|
opacity: Math.round(textStyle.Transparency * 100),
|
|
|
fontStyle: textStyle.IsBold && textStyle.IsItalic ? 3 : !textStyle.IsBold && !textStyle.IsItalic ? 0 : textStyle.IsBold ? 1 : 2,
|
|
|
fontSize: Math.round(textStyle.FontSize)
|