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/04 04:31:20 UTC

[royale-asjs] 01/02: Revert "show close button. Needs CSS to position correctly"

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

commit 0f1bbe09985a41a62940a9cfff344247d1fb3019
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Dec 3 17:16:50 2019 -0800

    Revert "show close button.  Needs CSS to position correctly"
    
    This reverts commit ffa58b856163b1d3e7a8d81771e0785fed7028d5.
---
 .../SparkRoyale/src/main/royale/spark/components/beads/PanelView.as    | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
index 44485f1..16bc209 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/PanelView.as
@@ -65,9 +65,6 @@ public class PanelView extends org.apache.royale.html.beads.PanelView
     {
         titleBar = new PanelTitleBar();
         super.strand = value;
-        var host:SkinnableContainer = _strand as SkinnableContainer;
-        var model:PanelModel = host.model as PanelModel;
-        model.showCloseButton = true;
     }
     
     /**