HaxeFlixel / HaxeFlixel/flixel-ui

FlxUIPopup: click_popup event not received by parent state anymore

Open
#157 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haxe
Stars
201
Forks
75
PR merge metrics
No merged PRs in 30d

Description

This is observable in RPG Interface: Default asset test -> Popup -> Click any of the buttons. The popup should be closed and and print what button has been clicked to the log window of the flixel debugger. Instead, nothing happens.

The reason for this is that State_DefaulTest#getEvent() doesn't receive the "click_popup" event anymore. The breaking commit is a862517.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the RPG Interface Default asset test at Popup and inspect State_DefaulTest#getEvent(), comparing the current behavior with breaking commit a862517. Done means clicking a popup button closes the popup, delivers the "click_popup" event to the parent state, and prints the clicked button to the flixel debugger log.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.