feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
915 stars 386 forks source link

Bug in Scroller set topPullView method #1751

Closed brighttank closed 6 years ago

brighttank commented 6 years ago

When setting the topPullView for a Scroller the class tries to clear the mask on the leftPullView. Seems like that line shouldn't be there and it causes a null pointer exception as the leftPullView is null.

public function set topPullView(value:DisplayObject):void
{
    if(this._topPullView !== null)
    {
        this._topPullView.mask.dispose();
        this._leftPullView.mask = null;
joshtynjala commented 6 years ago

Confirmed. Thank you!