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

Add a way to change button title to "Save before exiting" when using custom categories #234

Open
fifth-light opened this issue Dec 14, 2024 · 0 comments

Comments

@fifth-light
Copy link

Sorry for my poor English.
I'm using YACL's custom category in some part of my options screen in my mod TouchController. I recreated save & undo & reset buttons in my custom category. But when Escape key pressed with unsaved changes, there is no way to detect this event to change the title of save button to the red text "Save before exiting", so nothing happened. Could you please change the API of CustomTabProvider to provide a way to detect such event?

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

No branches or pull requests

1 participant