From 2e92e83e5b85fb812ec28307ab6424025c4406a4 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Wed, 14 Jul 2021 12:33:55 -0700 Subject: [PATCH] FeathersUIWrapper: update to latest --- .../src/actionScripts/ui/FeathersUIWrapper.as | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/InstallerSharedCore/src/actionScripts/ui/FeathersUIWrapper.as b/InstallerSharedCore/src/actionScripts/ui/FeathersUIWrapper.as index af4de6f..0792006 100644 --- a/InstallerSharedCore/src/actionScripts/ui/FeathersUIWrapper.as +++ b/InstallerSharedCore/src/actionScripts/ui/FeathersUIWrapper.as @@ -326,11 +326,12 @@ 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; + if(this._feathersUIFocusManager) { + this._feathersUIFocusManager.enabled = false; + } } } } \ No newline at end of file