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

Disable the automatic offset adjustment button if the offset of the previous play was 0 #28481

Merged
merged 4 commits into from
Jun 15, 2024

Conversation

shiumano
Copy link
Contributor

I luckily found this bug when I retried with an offset of 0. It is almost impossible to reproduce outside of a test scene, but I guarantee it was there once.
I have disabled the button in the event, but if there is no change after adjusting it, it does not work.
It is strange when the button is enabled when no offset adjustment is needed in the first place, so we made sure to check it first.

master this PR
recording.webm recording (1).webm

@bdach
Copy link
Collaborator

bdach commented Jun 14, 2024

I luckily found this bug

What "bug"?

This may be aesthetic / UX at best, but surely there's no bug here? What harm could the button cause if offset of the last play was 0?

@shiumano
Copy link
Contributor Author

shiumano commented Jun 14, 2024

Yes, it is somewhat uncomfortable but does not cause serious problems.
Still, I think the expected behavior is that the button will be enabled if it needs to be adjusted, and disabled if it has been adjusted.
I will edit the wording if it needs to be changed.

@peppy peppy self-requested a review June 15, 2024 09:19
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 15, 2024
@peppy peppy enabled auto-merge June 15, 2024 09:37
@smoogipoo smoogipoo disabled auto-merge June 15, 2024 10:16
@smoogipoo smoogipoo merged commit 294f9bd into ppy:master Jun 15, 2024
11 of 17 checks passed
@shiumano shiumano deleted the no-offset-change branch June 15, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants