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

Fix #899 auto scroll set to start closes move description. #927

Open
wants to merge 1 commit into
base: 9bit
Choose a base branch
from

Conversation

nickjwilde
Copy link

No description provided.

@FredrIQ
Copy link
Collaborator

FredrIQ commented Feb 5, 2024

I don't really like this fix. Disabling autoscroll out of the blue feels inconsistent and confusing UI-wise. What do others think?

@nickjwilde
Copy link
Author

There might be a better way to do this. I have a limited knowledge of gbc asm and it's inner workings. I was trying to help out with some cosmetic minor issues.

From my understanding it uses the stack to save the autoscroll setting value and then disables it for the one time showing of the move text and pops the stack to retrieve the old value.

My other thoughts to solve would be to check a flag or something for the specific use case of showing the move description or something.

Again, there may be a more performant, less memory intensive way. I wanted to help out where I could so feedback is appreciated.

Let me know how I can help

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.

None yet

2 participants