From 7d89dc0813cd5d163019c445fa66347a73ddbb3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Mon, 21 Oct 2024 10:52:29 +0200 Subject: [PATCH] Fixed: #2341 FLA export - DefineEditText - use its default text color on HTML enabled inputs --- CHANGELOG.md | 1 + .../src/com/jpexs/decompiler/flash/xfl/XFLConverter.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74d0e67057..8f213f0f30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file. bitmap fills or frame duration - [#2341] FLA export - linkage and imported fonts did not work correctly - [#2345] items smaller than 20 twips were not drawn - caused PDF problems - now ceil is used +- [#2341] FLA export - DefineEditText - use its default text color on HTML enabled inputs ## [21.1.1] - 2024-10-13 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index fcfeaf0d88..24136e732e 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -5585,6 +5585,10 @@ public HTMLTextParser( alignment = "unknown"; } } + if (det.hasTextColor) { + color = det.textColor.toHexRGB(); + } + this.chatacterTags = characterTags; this.characterImportLinkageURL = characterImportLinkageURL; this.lastImportedId = lastImportedId;