Prev Previous Post   Next Post Next
Old 01-06-2020, 01:52 PM   #11
Human being with feelings
Join Date: Jul 2009
Posts: 3,221

Originally Posted by Sexan View Post
Which is the right way too do this stuff (as I've understand). Mouse becomes little unresponsive:
1. Movement is not tracked well (I guess because of 30hz defered speed)
2. If you grab the item to move it and your mouse gets over FADE or ITEM EDGE because of issue above, it starts to trigger moving fades and item edges and click stuff around.
It might work better -- and feel more accurate for the user -- if you pass the original data of each message through unaltered, instead of updating the mouse position:
reaper.JS_WindowMessage_Intercept(w, "WM_LBUTTONDOWN", false)
pOK, pass, time, wLow, wHigh, lLow, lHigh = reaper.JS_WindowMessage_Peek(w, "WM_LBUTTONDOWN")
reaper.JS_WindowMessage_Post(w, "WM_LBUTTONDOWN", wLow, wHigh, lLow, lHigh)
juliansader is online now   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 11:04 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.