Skip to content

Commit

Permalink
Updating FeathersUIWrapper.as (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
rat-moonshine committed Jul 14, 2021
1 parent b1ec0e6 commit dabcf13
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,9 @@ package actionScripts.ui

protected function feathersUIWrapper_focusOutHandler(event:FocusEvent):void
{
if(this.stage != null && this.stage.focus != null && this.contains(this.stage.focus)) {
if(this.stage != null && this.stage.focus != null && (this.stage.focus == this || this.contains(this.stage.focus))) {
return;
}
this._feathersUIFocusManager.focus = null;
this._feathersUIFocusManager.enabled = false;
}
}
Expand Down

0 comments on commit dabcf13

Please sign in to comment.