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

Adjust spacing of forwards and backwards button text #1150

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

owi92
Copy link
Member

@owi92 owi92 commented Mar 19, 2024

Since these are basically mirrored (not completely because the number 10 is obv not), the x-offset of the number does not necessarily need to be the same. It's kinda hard to tell, so I tried around a bit with different values and also increased the y-offset of both by one pixel. I might have ended up with an improved balancing. Though that is still somewhat subjective of course, so feedback is still welcome.

Closes #1086

@owi92 owi92 added the changelog:user User facing changes label Mar 19, 2024
@github-actions github-actions bot temporarily deployed to test-deployment-pr1150 March 19, 2024 16:14 Destroyed
@LukasKalbertodt
Copy link
Member

Mh I think this doesn't yet solve the issue in that the "forward" number is closer to the arrow than the "backwards" one. So the "forward" number has to be moved right more than the "backwards" number left, but this PR moves both by the same amount.

I also wouldn't change the vertical position that much. In this new version the numbers are below the baseline of the other text in the same line.

But sure, in the end this is subjective.

@owi92
Copy link
Member Author

owi92 commented Mar 19, 2024

I also wouldn't change the vertical position that much.

It is literally only changed by one pixel though... Or am I seeing this wrong. I mean it also says so in the code so I don't know... what would you suggest?

@LukasKalbertodt
Copy link
Member

One whole pixel?! Back in my days...

Seriously though: I directly compared the new and old ones by switching between two tabs and... somehow it is a noticeable change. No idea why this one pixel is doing that. Maybe this is in SVG coordinates and everything gets scaled up or sth?
Either way, you already suggested a new version in our private chat so we'll just go with that I guess.

@github-actions github-actions bot temporarily deployed to test-deployment-pr1150 March 20, 2024 09:53 Destroyed
Since these are basically mirrored (not completely because
the number 10 is obv not), the x-offset does not necessarily
need to be the same. It's kinda hard to tell honestly, so
I tried around a bit with different values and think to have
ended up with an improved balancing. Though that is still somewhat
subjective of course.
@github-actions github-actions bot temporarily deployed to test-deployment-pr1150 March 20, 2024 10:15 Destroyed
@owi92 owi92 marked this pull request as draft March 24, 2024 10:40
@owi92 owi92 marked this pull request as ready for review April 4, 2024 09:39
Copy link
Member

@LukasKalbertodt LukasKalbertodt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good IMO! And also fixes the font used here.

@LukasKalbertodt LukasKalbertodt merged commit b12ad3f into elan-ev:master Apr 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:user User facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Player backward/forward buttons are not balanced
2 participants