Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added DismissOptions method to DialogueViewBase #286

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joshgrrro
Copy link

@joshgrrro joshgrrro commented Jul 29, 2024

  • Please check if the pull request fulfills these requirements
  • Tests for the changes have been added (for bug fixes / features)
    • Does it pass all existing unit tests without modification?
      • If not, what did you change?
      • If you altered it significantly, what coverage issue did you fix?
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated to describe this change
  • What kind of change does this pull request introduce?
  • Bug Fix
  • Feature
  • Something else
  • What is the current behavior?

    When an option is selected, dialogue immediately continues.

  • What is the new behavior (if this is a feature change)?

    When an option is selected, DismissOptions is called on all Dialogue Views. The method includes the selected option index, allowing other views to handle the result of a dialogue choice.

  • Does this pull request introduce a breaking change?

    No. It could create warnings in the event that a user has added a DismissOptions method to a class inheriting from DialogueViewBase.

  • Other information:

    This change incurs a small CPU performance cost of calling the DismissOptions method each time an option is selected.

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.

1 participant