Skip to content

Bias dropped clip position backwards - #5401

Merged
Spekular merged 1 commit into
LMMS:masterfrom
Spekular:dropPosition
Apr 12, 2020
Merged

Bias dropped clip position backwards#5401
Spekular merged 1 commit into
LMMS:masterfrom
Spekular:dropPosition

Conversation

@Spekular

Copy link
Copy Markdown
Member

This matches the drop behavior from before #4973, as users expect clips to start on the bar they hover over, not on the bar whose start is closer to the cursor. Scales with snap size as well, so it drops onto the half-bar hovered over rather than the half-bar whose start is closer to the cursor, etc.
Closes #5393

@Spekular Spekular added this to the 1.3.0 milestone Feb 23, 2020
@LmmsBot

LmmsBot commented Feb 23, 2020

Copy link
Copy Markdown
🤖 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

macOS

🤖
{"platform_name_to_artifacts": {"Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://5761-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.584-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5761?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://5759-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.584-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5759?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/ebpiy2dfk9r08b4w/artifacts/build/lmms-1.2.1-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/30996979"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/w8onek4t1e8xtqiy/artifacts/build/lmms-1.2.1-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/30996979"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://5760-15778896-gh.circle-artifacts.com/0/lmms-1.2.1.584-mac10.13.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/5760?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "bbb3624399e2683864e34c51f7d5f00968f25685"}

@PhysSong

Copy link
Copy Markdown
Member

The code looks good. Please feel free to merge it if you think we should revert to the old snapping behavior(no objections from me, FYI).

@Spekular
Spekular merged commit 2419433 into LMMS:master Apr 12, 2020
@Spekular

Copy link
Copy Markdown
Member Author

Thanks for the review! :)

@Spekular
Spekular deleted the dropPosition branch August 10, 2020 15:21
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Bias dropped clip position backwards
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.

Loop drops onto next bar over (macOS Mojave 10.14, LMMS v1.2.1.581)

3 participants