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

Improve accuracy and precision of S-meter display #1067

Merged
merged 3 commits into from
Jan 15, 2022
Merged

Conversation

argilo
Copy link
Member

@argilo argilo commented Jan 15, 2022

As noted in #1054 (comment), m_Siglevel is currently an int, limiting the precision of the displayed S-meter on high-DPI displays. I've fixed that in the first commit here.

While working on this, I also noticed that the S-meter rectangle is 2 pixels too short. It has a black pen stroke around it which is the correct length, but that cannot be seen. I've made the stroke visible by changing it to green. (It was easier to get the meter to the correct size this way, as opposed to removing the stroke completely.) This change is in the second commit.

@argilo argilo merged commit ea97a7c into master Jan 15, 2022
@argilo argilo deleted the meter-siglevel-float branch January 15, 2022 18:50
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.

1 participant