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

Debounce duplicate note popups #406

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

Hoikas
Copy link
Member

@Hoikas Hoikas commented Feb 18, 2024

Fixes #405. Side effect: fixes potential error where generated objects crash when pre-exporting.

CC @DoobesURU

The modifier was originally written with the assumption that exactly one
modifier controlled exactly one page. Of course, artists began using
multiple Note Popup modifiers to show the same GUI page in multiple
places. So, be sure that we only export the GUI objects once.
Fail fast if someone sets up multiple note popups with conflicting
settings. This will allow us to obey the principle of least surprise.
@DoobesURU
Copy link
Contributor

While it didn't seem to fix the problem I had in Chiso (who knows what's going on there), I was able to get multiple clickables to point to the same GUI PRP without the client crashing this time in the test Kirel with Guild deco toggle, so the fix itself is sound.

@Hoikas Hoikas merged commit 46a72a6 into H-uru:master Feb 19, 2024
3 checks passed
@Hoikas Hoikas deleted the debounce_duplicate_note_popups branch February 19, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple clickables to one GUI PRP
2 participants