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

Reaper 7 - reaper.BR_TrackAtMouseCursor() doesn't take care of spacer #1805

Closed
MathieuCGit opened this issue Nov 28, 2023 · 3 comments
Closed

Comments

@MathieuCGit
Copy link

Hello folks,

As reported here : me2beats/reapack#2

I suspect the function reaper.BR_TrackAtMouseCursor() to not consider track spacer when returning the track under mouse.

To reproduce using me2beat script :

  • Open a project with several tracks (16 in my case)
  • put the mouse cursor on an item
  • enable the script (F1 in my case)
  • it doesn't select the right track

If I put the mouse on the TCP track, in this case it works. So it seems to be the way the function returns the track under arrange view/item.

If I remove every spacer, the function and the script perfectly work.

here is a gif : https://imgur.com/IrQubkH

@Buy-One
Copy link

Buy-One commented Nov 28, 2023

There's an unreleased build with the fix #1787

@cfillion
Copy link
Member

Closing as duplicate of #1761.

@cfillion cfillion closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
@cfillion
Copy link
Member

Also, REAPER now has its own GetTrackFromPoint function which is a lot faster than the SWS one and does not have this compatibility issue.

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

No branches or pull requests

3 participants