You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2017/06/19 11:04:56 UTC
git commit: [flex-asjs] [refs/heads/tlf] - Clear text data
Repository: flex-asjs
Updated Branches:
refs/heads/tlf e263ef6e5 -> 31056ecd4
Clear text data
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/31056ecd
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/31056ecd
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/31056ecd
Branch: refs/heads/tlf
Commit: 31056ecd444810d8c0fdacbeccdee7cb92a3293f
Parents: e263ef6
Author: Harbs <ha...@in-tools.com>
Authored: Mon Jun 19 14:04:52 2017 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Mon Jun 19 14:04:52 2017 +0300
----------------------------------------------------------------------
.../Text/src/main/flex/org/apache/flex/text/engine/TextElement.as | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/31056ecd/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/TextElement.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/TextElement.as b/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/TextElement.as
index 6d4158c..47a0046 100644
--- a/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/TextElement.as
+++ b/frameworks/projects/Text/src/main/flex/org/apache/flex/text/engine/TextElement.as
@@ -36,6 +36,7 @@ package org.apache.flex.text.engine
{
_text = value;
resetGlyphs();
+ resetText();
}
override public function get rawText():String
@@ -46,6 +47,7 @@ package org.apache.flex.text.engine
{
super.elementFormat = value;
resetGlyphs();
+ resetText();
}
private function resetGlyphs():void
{