View Single Post
Old 12-24-2019, 05:41 AM   #847
Sexan
Human being with feelings
 
Sexan's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 4,596
Default

I'm little confused because the code worked before I even have a gif few pages back where I block mouse click when drawing over envelopes (when you introduced mouse cursors), its pretty much the exact same code whats only added is envelope cursors (if cursor == xyz_envelope) ...

Maybe I'm going insane....


What function does is:
Tracks where the mouse is in track (upper or lower half) but it waits for mouse click to return the value. If its in upper half and there is defined cursor to avoid then disable mouse click and after mouse is released enable the mouse button.

Mouse click needs to be blocked BEFORE its clicked?
Mouse click is disabled only in certain conditions and it should be enabled when its released.

EDIT: So if I got it right, mouse needs to be intercepted from the beginning all the time and released when told ?

Last edited by Sexan; 12-24-2019 at 06:10 AM.
Sexan is offline   Reply With Quote