disable right click on audio waveform
-
@meto396 You can just put a transparent panel over it with no callbacks.
-
@oskarsh the problem is: how should I then drag my audio files onto it?
-
@meto396 you can set the panel to allow dragging and use that to load the audio file. However it is more complicated.
-
@oskarsh so is there no other way to script something that disables the right click for it? I still wanna use and change the range of the audio waveform
-
@meto396 is there a way to disable this function with setMouseCallback?
-
@meto396 could be one for the source code...
-
@d-healey @Christoph-Hart @Lindon can anyone help me here?
-
@meto396 I think the answer has already been given
-
@d-healey I can't see a solution
-
@meto396 As Dan said, probably need to edit the source code.
I think it's this line: https://github.com/christophhart/HISE/blob/develop/hi_tools/hi_standalone_components/SampleDisplayComponent.cpp#L2509
@Christoph-Hart Is it possible for a mouse broadcaster to consume the event before opening the file browser?