This is an automated email from the ASF dual-hosted git repository.
yishayw 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 5042ecb987 Use to be consistent with
5042ecb987 is described below
commit 5042ecb9871498b0335874005a704eef70699e1b
Author: Yishay Weiss <[email protected]>
AuthorDate: Tue Sep 6 10:07:15 2022 +0300
Use to be consistent with
---
.../projects/MXRoyale/src/main/royale/mx/containers/beads/PanelView.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/PanelView.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/PanelView.as
index 021849d688..71a7756288 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/PanelView.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/PanelView.as
@@ -177,7 +177,7 @@ class PanelLayout extends LayoutBase
var panel:Panel = host as Panel;
var titleBar:UIComponent = panel.$getElementAt(0) as UIComponent;
var content:UIComponent = panel.$getElementAt(1) as UIComponent;
- var controlBar:UIComponent = panel.numElements > 2 ?
panel.$getElementAt(2) as UIComponent : null;
+ var controlBar:UIComponent = panel.$numElements > 2 ?
panel.$getElementAt(2) as UIComponent : null;
var w:Number = panel.width;
var h:Number = panel.height;
if (panel.isWidthSizedToContent())