Go Back   Cockos Incorporated Forums > REAPER Forums > Dstruct's Casa De Nitpicks

Reply
 
Thread Tools Display Modes
Old 09-08-2021, 11:57 AM   #1
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default GetMouseModifier does not return "-1"

For Media Item bottom half context for example, "Pass through to item drag context" should return "-1", but it returns the value that it points to.
So, if I change the value to something else and want to restore it, it won't restore the "Pass through to item drag context" value but the value that it points to, which is not the same.

As the return value is a string, it could return the value that it points to plus an asterisk or something to denote that this is the default value ("Pass through to item drag context"). So, "13*" instead of "13" for example.

__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Reply

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 05:02 AM.


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