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

Refactor DrawPlayerTrack #906

Merged

Conversation

DeinAlptraum
Copy link
Contributor

Remove several unused parameters, simplify the code and improve readability. This also fixes two long-standing problems.

The tone marker was previously always three or four halftones too high. It is now on the same height as what is actually sung.

Previously, the marker was shifted by one octave whenever a new one was entered, e.g. when going from a B2 to a C2, the marker would jump down by 11 halftones. This is changed to always be in the octave that is closer to the current note, i.e. at a distance of most 6 halftones above or below.

Fix tone marker in edtiro being too high.
Always display marker in octave closest to current note
@barbeque-squared barbeque-squared merged commit 8a6251d into UltraStar-Deluxe:master Oct 7, 2024
5 checks passed
@DeinAlptraum DeinAlptraum deleted the editor-tone-marker branch October 7, 2024 17:26
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.

2 participants