View Single Post
Old 05-08-2017, 05:38 PM   #16
Opcode 7
Human being with feelings
 
Join Date: Mar 2017
Posts: 79
Default

I'm gonna make a wild guess here, and there's a 99% chance I'm wrong, but It might have to do with the redraw & fps speed that the controls get drawn at, as I cannot figure it out.

EDIT: I just re-read this thread, and I set mDblAsSingleClick to true, like Youlean suggested, and that solved my issue. I feel like an idiot.

Thanks Youlean!

Bobflip, try setting it in your controls constructor. This is what I did :

Quote:
IInvisibleSwitchControl::IInvisibleSwitchControl(I PlugBase* pPlug, IRECT pR, int paramIdx)
: IControl(pPlug, pR, paramIdx, IChannelBlend::kBlendClobber)
{
mDblAsSingleClick = true;
mDisablePrompt = true;
}

Last edited by Opcode 7; 05-08-2017 at 06:27 PM.
Opcode 7 is offline   Reply With Quote