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

Added setting to limit long map names to a specific width #31

Merged
merged 1 commit into from Dec 16, 2022
Merged

Added setting to limit long map names to a specific width #31

merged 1 commit into from Dec 16, 2022

Conversation

codecat
Copy link
Sponsor Contributor

@codecat codecat commented Dec 16, 2022

What it looks like: (it also scrolls horizontally after 1 second, and returns back the its original position 2 seconds after reaching the end)
image

This adds 2 new settings under "Additional Info":
image

"Limit Map Name length" defaults to on, and the width defaults to 275 pixels.

This closes #30.

…h, which also includes scrolling the map name visually
@Phlarx
Copy link
Owner

Phlarx commented Dec 16, 2022

Thanks, looks great!

Out of curiousity, is there a reason to have the rest time before moving longer than the rest time after?

@codecat
Copy link
Sponsor Contributor Author

codecat commented Dec 16, 2022

Gives you a chance to read the last part of the map name (because you read from left to right). 😊

@Phlarx
Copy link
Owner

Phlarx commented Dec 16, 2022

Makes sense, I wanted to make sure because my gut reaction and my brain were disagreeing :P

@Phlarx Phlarx merged commit 147055b into Phlarx:main Dec 16, 2022
@codecat codecat deleted the map-name-limit branch December 16, 2022 17:21
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.

Add an option to truncate extremely long track names or split them up in 2 lines
2 participants