Skip to content

Make sure onFocusLost gets called on substates.#3521

Open
EliteMasterEric wants to merge 1 commit intoHaxeFlixel:devfrom
FunkinCrew:upstream/no-focus-on-substate
Open

Make sure onFocusLost gets called on substates.#3521
EliteMasterEric wants to merge 1 commit intoHaxeFlixel:devfrom
FunkinCrew:upstream/no-focus-on-substate

Conversation

@EliteMasterEric
Copy link
Contributor

It took me longer to make a commit that wasn't filled with whitespace changes automatically made by HXFormat than it did to write the actual PR.

Resolves #3520.

@Geokureli
Copy link
Member

I've never been able to observe a focus event, this is relevant to some previous issues, let me find and link them.

Also this doesn't fit the HF format requirements, remove the cuddled brackets and split these particular ifs into two lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FlxSubState.onFocus and FlxSubState.onFocusLost don't get called

2 participants