You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/09 18:48:07 UTC

[royale-asjs] branch develop updated: some late changes would remove the overlay. Should fix #611

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

aharui 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 1f6b21a  some late changes would remove the overlay. Should fix #611
1f6b21a is described below

commit 1f6b21ae3e201f2d55a66ab9ad33604090bcd29c
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Dec 9 10:47:45 2019 -0800

    some late changes would remove the overlay. Should fix #611
---
 .../src/main/royale/mx/controls/beads/DataGridColumnResizeBead.as      | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridColumnResizeBead.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridColumnResizeBead.as
index 614b791..2efdd99 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridColumnResizeBead.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridColumnResizeBead.as
@@ -135,6 +135,9 @@ package mx.controls.beads
             // grid lines.
             var model:IBeadModel = _strand.getBeadByType(IBeadModel) as IBeadModel;
             IEventDispatcher(model).addEventListener("dataProviderChanged", drawLines);
+            
+            // if the headerText gets changed, the overlay is removed, so re-apply it
+            IEventDispatcher(_header.model).addEventListener("dataProviderChanged", handleInitComplete);
         }