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