This is an automated email from the ASF dual-hosted git repository. hugoferreira 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 eaf3bc3842 Fix for the new Jewel SectionContentVisibility bead eaf3bc3842 is described below commit eaf3bc38424df747d8735e4eaa90ecd12a7ed373 Author: Hugo Ferreira <hferre...@solidsoft.pt> AuthorDate: Tue Oct 11 23:29:29 2022 +0100 Fix for the new Jewel SectionContentVisibility bead --- .../royale/jewel/beads/controls/tabbar/SectionContentVisibility.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/tabbar/SectionContentVisibility.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/tabbar/SectionContentVisibility.as index a03a08cdc4..e951377e77 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/tabbar/SectionContentVisibility.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/tabbar/SectionContentVisibility.as @@ -22,7 +22,7 @@ package org.apache.royale.jewel.beads.controls.tabbar import org.apache.royale.core.IStrand; import org.apache.royale.jewel.SectionContent; import org.apache.royale.jewel.TabBarContent; - import org.apache.royale.jewel.TabBar; + import org.apache.royale.core.UIBase; import org.apache.royale.core.IBead; /** @@ -85,7 +85,7 @@ package org.apache.royale.jewel.beads.controls.tabbar COMPILE::JS { - var styleDeclaration:CSSStyleDeclaration = (tabBar.parent.getElementAt(0) as TabBar).getElementAt(tabBar.getElementIndex(sectionContent)).element.style; + var styleDeclaration:CSSStyleDeclaration = (tabBar.parent.getElementAt(0) as UIBase).getElementAt(tabBar.getElementIndex(sectionContent)).element.style; if (visible) styleDeclaration.removeProperty("display"); else