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

Fixes world generation display name input entry rendering problem #489

Closed
wants to merge 1 commit into from

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented May 22, 2023

Fixes #486.
The original input entry renders unwisely, which means the entry is rendered with weird displacement, it is unable to check out the texts on the left when the string is longer than the width, also, the position of the entry to displace is not set ideally, it is intended to render precisely but it is not. So, this modifies these behaviours. It is now rendered correctly, and the right arrow on the left also moves according to the displacement of the entry. Also, it is now able to move the entry inspection to the left or to the right by using left and right keys respectively. When changes applied to the entry, the position resets.

@Makkkkus
Copy link
Member

This part of the gui system has to be rewritten. It isn't important enough to fix the error with "duct-tape".

@Makkkkus Makkkkus closed this Jun 22, 2023
@BenCheung0422
Copy link
Member Author

This is just a simple fix.

@Makkkkus
Copy link
Member

It isn't a simple fix. I'm almost certain this will break something.

@BenCheung0422
Copy link
Member Author

No, I have tested. This only improves the behaviour of world name input.

@BenCheung0422
Copy link
Member Author

The original code does break something, so I am going to implement this in a more general way as this affects more entries and menus in more situations in fact.

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.

is this supposed to happen?
3 participants