Strikethru needs this too.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/66ac90c1 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/66ac90c1 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/66ac90c1 Branch: refs/heads/feature/strand-work Commit: 66ac90c159842604366ed396d9f6e4dffe4e65d8 Parents: de15fe6 Author: Harbs <ha...@in-tools.com> Authored: Thu Aug 3 00:52:27 2017 +0300 Committer: Harbs <ha...@in-tools.com> Committed: Thu Aug 3 00:52:27 2017 +0300 ---------------------------------------------------------------------- .../org/apache/flex/textLayout/compose/utils/AdornmentUtils.as | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66ac90c1/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as index 9fa970e..664a82f 100644 --- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as +++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/compose/utils/AdornmentUtils.as @@ -222,7 +222,9 @@ package org.apache.flex.textLayout.compose.utils var stOffset:Number = calculateStrikeThrough(element,tLine, blockProgression, metrics); var ulOffset:Number = calculateUnderlineOffset(element, stOffset, blockProgression, metrics, tLine); - ulOffset += tLine.getAdornmentOffsetBase(); + var offset:Number = tLine.getAdornmentOffsetBase(); + ulOffset += offset; + stOffset += offset; } if (blockProgression != BlockProgression.RL)