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 8bc79f8 Forgot to wrap type in event
8bc79f8 is described below
commit 8bc79f88af78c9557287ce8f0704fe452486977b
Author: Yishay Weiss <[email protected]>
AuthorDate: Wed Dec 16 17:06:47 2020 +0200
Forgot to wrap type in event
---
.../src/main/royale/mx/controls/listClasses/DataGridListBase.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
index f683db4..a590402 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/listClasses/DataGridListBase.as
@@ -590,7 +590,7 @@ public class DataGridListBase extends ListBase /* extends
UIComponent
// meaning it is sizedToContent or may be % but
depending on
// minHeight measurement, then force a layout
if (isHeightSizedToContent() && isNaN((parent
as UIComponent).explicitHeight))
- (parent as
IEventDispatcher).dispatchEvent("layoutNeeded");
+ (parent as
IEventDispatcher).dispatchEvent(new Event("layoutNeeded"));
}
}