This is an automated email from the ASF dual-hosted git repository.
piotrz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new f132768 TabNavigator: Fix issue with show content of ViewStack
f132768 is described below
commit f132768739a040af47c9f5f9271cac999967cf9a
Author: Piotr Zarzycki <[email protected]>
AuthorDate: Fri Oct 4 14:41:59 2019 +0200
TabNavigator: Fix issue with show content of ViewStack
(reference #479 )
---
frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
index 99cef43..c02fffe 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/ViewStack.as
@@ -990,7 +990,7 @@ public class ViewStack extends Container implements
/*IHistoryManagerClient,*/ I
{
// must set visible=true otherwise child has display:none
// and measurements of its children will not be correct
- child.visible = true;
+ child.setVisible(true);
}
// Don't send events for the size/move. The set visible below
if (child.width != newWidth || child.height != newHeight)