Don't update m_positionLine in paintEvent#5967
Merged
Merged
Conversation
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Windows
Linux
macOS🤖{"platform_name_to_artifacts": {"Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://13235-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.85%2Bgf0e04cd97-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/13235?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://13234-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.85%2Bgf0e04cd97-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/13234?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/1a75o55en9ropsj9/artifacts/build/lmms-1.3.0-alpha-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/38426809"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/reun7q77fojjs99s/artifacts/build/lmms-1.3.0-alpha-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/38426809"}], "Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://13233-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.85%2Bgf0e04cd-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/13233?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://13231-15778896-gh.circle-artifacts.com/0/lmms-1.3.0-alpha.1.85%2Bgf0e04cd97-mac10.14.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/13231?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "2d1200acb69734c45bc4089c3a38dd3349d4a6b0"} |
Contributor
Contributor
Author
I'll look into that one next. Thanks!
Not related, but I believe another PR is touching this code and gives it more draw space. So other than those two separate issues, this PR looks good then I believe. 👍 |
Contributor
Author
|
Merging tomorrow unless anyone objects. |
IanCaio
approved these changes
Apr 14, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes #5863 (for real this time)
This extra update in paintEvent was causing the misalignment in the piano keys (and actually anywhere the position line was in the window). There is still a very small glitch of the line height when resizing, but this is a small issue I can fix in another PR later.