You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2022/01/01 21:48:35 UTC

[royale-asjs] branch develop updated: Added TODO comment

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

harbs 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 17b5534  Added TODO comment
17b5534 is described below

commit 17b5534b26878b7067ae186d63d4f1868c7dd522
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sat Jan 1 23:48:03 2022 +0200

    Added TODO comment
---
 .../projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
index 76f3bb1..ce36810 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as
@@ -1146,6 +1146,8 @@ package org.apache.royale.core
             var isView:Boolean;
 			
 			super.addBead(bead);
+            //TODO This check for model does not seem to make sense. There used to be a model assignment here.
+            // It does not look to me like model is being assigned anywhere anymore and that probably needs to be fixed - Harbs @1/1/22
 			if (this._model !== bead && bead is IBeadView) {
 				_view = bead as IBeadView;
 				isView = true