Updated Branches: refs/heads/develop 17319eb2c -> c7e12e0bd
FIXED - FLEX-34059 StageTextInput with prompt turns entered text gray on iOS7 Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/c7e12e0b Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/c7e12e0b Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/c7e12e0b Branch: refs/heads/develop Commit: c7e12e0bd60e0a2b781395f15bc699188193670c Parents: 17319eb Author: mamsellem <[email protected]> Authored: Thu Jan 30 14:35:12 2014 +0100 Committer: mamsellem <[email protected]> Committed: Thu Jan 30 14:35:12 2014 +0100 ---------------------------------------------------------------------- .../src/spark/components/supportClasses/ScrollableStageText.as | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/c7e12e0b/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as b/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as index b777461..05cfe08 100644 --- a/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as +++ b/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as @@ -1591,10 +1591,12 @@ public class ScrollableStageText extends UIComponent implements IStyleableEdita // Make sure any pending style changes get saved before replacing // the StageText with a bitmap + //we force style update, because it's not updated correctly on iOS7 (see https://issues.apache.org/jira/browse/FLEX-34059) + invalidateStyleFlag = true; commitStyles(); var bitmap:BitmapData = new BitmapData(stageText.viewPort.width, - stageText.viewPort.height, !debugProxyImage, debugProxyImage ? 0xFF00FF : 0x00FFFFFF); + stageText.viewPort.height, !debugProxyImage, debugProxyImage ? 0xFF90FF : 0x00FFFFFF); stageText.drawViewPortToBitmapData(bitmap);
