You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/08/28 09:21:37 UTC

[royale-asjs] branch develop updated: jewel-groupbase: separate layout bead load to a function so we can override if needed

This is an automated email from the ASF dual-hosted git repository.

carlosrovira 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 6cd7964  jewel-groupbase: separate layout bead load to a function so we can override if needed
6cd7964 is described below

commit 6cd7964ac6dfb0ecfe97e7d8a83dd898966b9c27
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Aug 28 11:21:26 2020 +0200

    jewel-groupbase: separate layout bead load to a function so we can override if needed
---
 .../org/apache/royale/jewel/supportClasses/group/GroupBase.as  | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
index a139e62..f552f05 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/group/GroupBase.as
@@ -118,7 +118,15 @@ package org.apache.royale.jewel.supportClasses.group
 		{
 			super.addedToParent();
 			
-			// Load the layout bead if it hasn't already been loaded.
+            addLayoutBead();
+		}
+
+        /**
+		 * Load the layout bead if it hasn't already been loaded.
+         * 
+         * @private
+         */
+        protected function addLayoutBead():void {
 			loadBeadFromValuesManager(IBeadLayout, "iBeadLayout", this);
 		}