feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR

Home Page:https://feathersui.com/learn/as3-starling/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BottomDrawerPopUpContentManager ignored panel.headerFactory

denisgl7 opened this issue · comments

Hi Josh! I saw that you are updating 4.1.
If you have some time, please see the following inaccuracy

var manager:BottomDrawerPopUpContentManager = new BottomDrawerPopUpContentManager();
manager.panelFactory = function ():Panel
{
     var panel:Panel = new Panel();
     panel.headerFactory = function ():IFeathersControl
     {
	   var header:Header = new Header();
	   header.backgroundSkin = new Quad(10, 10, 0x0);
	   return header;
     };
}

in fact, the BottomDrawerPopUpContentManager will use his headerFactory at line 403

this.panel.headerFactory = headerFactory;

That is, I don’t set the panel property